Opened 12 years ago
Closed 12 years ago
#30457 closed defect (bug) (fixed)
Media Library: Bulk Selected images in grid view only partially deleted
| Reported by: | anonymized_13545031 | Owned by: | wonderboymusic |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.1 |
| Component: | Media | Version: | 4.0.1 |
| Severity: | major | Keywords: | has-patch commit fixed-major |
| Cc: | Focuses: | javascript |
Description
This must have been introduced with 4.0.1 as it was working with 4.0.0.
When you select images for deletion in the Media Library in grid view and click on delete, not all selected images are deleted.
In my test installation I uploaded 5 images. Selecting all of them and clicking delete removes 3 and leaves two. Clicking those 2 again and clicking delete removes 1 and leaves 1. Selecting the last image again and clicking delete removes the last image.
This might be related to the fix introduced with #29597.
Attachments (1)
Change History (9)
#2
@
12 years ago
- Focuses javascript added
- Keywords has-patch added
- Severity normal → major
Destroy method was not sending ajax call for every media attachment, passing {wait: true} in destroy function fix the issue.
I am not so good with backbone js, is it the correct way ?
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
It seems that somehow only every other image is actually deleted. Selecting 8 images for deletion leaves 4 images after deletion. Selecting those for leaves 2, selecting the 2 leaves 1 etc...