Opened 6 years ago

Closed 6 years ago

#1742 closed bug (fixed)

Deleting several gallery images at once doesn't work

Reported by: jsfan Owned by: crumbking
Priority: minor Milestone: 1.3
Component: BW Gallery Keywords:
Cc:

Description

When selecting several images in the gallery and trying to delete all of them at once, only the first image is deleted.

Change History (9)

comment:1 Changed 6 years ago by crumbking

  • Owner set to crumbking
  • Status changed from new to accepted

I think I fixed that locally :-)

Delete this line and it seems to work:

http://gitorious.org/bewelcome/rox/blobs/master/build/gallery/gallery.model.php#line160

Could someone check back?

comment:2 Changed 6 years ago by crumbking

  • Milestone set to 1.3

comment:4 Changed 6 years ago by shevek

Played around with it a bit pictures can be deleted and readded at will. Number of pictures doesn't seem to matter (tried up to 4).

comment:5 Changed 6 years ago by shevek

  • Resolution set to fixed
  • Status changed from accepted to closed

comment:6 Changed 6 years ago by planetcruiser

working for me, too.

something else: i am wondering what the checkboxes on the "latest pictures" page /gallery/show/user/<user>/images/ are doing. looks like a bug, because there is no action button anywhere. ticket or wontfix?

comment:7 Changed 6 years ago by crumbking

  • Resolution fixed deleted
  • Status changed from closed to reopened

yeah seem like a copy paste bug. I removed the checkboxes:

review and test on alpha.

comment:8 Changed 6 years ago by jsfan

There are no more checkboxes in gallery/show/sets/<id>/details/ any more but an "all" checkbox and a delete button at the button of the page. Not sure if this was broken by the latest patch because I did not test it before then.

comment:9 Changed 6 years ago by jsfan

  • Resolution set to fixed
  • Status changed from reopened to closed

I have now reverted the last patch. The additional checkboxes in the latest images aren't worth fixing IMHO. Closing.

Note: See TracTickets for help on using tickets.