Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
On thumbnail browser page /admin/content/file none of operations work. After selecting one picture and hit delete I get no change except url changes to /admin/content/file/delete-multiple/1214. Tha same goes to edit - /admin/content/file/edit-multiple/1214. I get no error message and no error in chrome console.
Comment | File | Size | Author |
---|---|---|---|
#3 | media_browser_plus-delete_operation_not_working-2194047-3-D7.patch | 923 bytes | marcusx |
Comments
Comment #1
dmducc CreditAttribution: dmducc commentedYes. THIS is SOOOO frustrating
Comment #2
marcusx CreditAttribution: marcusx commentedSame issue here.
I debugged this a bit. I asume you are on the latest dev of media. The reason why this is not working anymore is that the bulk functionality has been moved into a submodule here: #2143469: Spin-off bulk file upload support in dedicated module / project
Commit:
http://drupalcode.org/project/media.git/commit/81640ea480a4d19433523c525...
So the hook_menu() implemetations are not correct any more.
e.g.:
Needs now to be:
This needs to be changed on several places. I will fix this today on my current project and send a patch later.
Comment #3
marcusx CreditAttribution: marcusx commentedPatch attached. There was already a fix for download and edit in the latest dev. I copied this over to the part responsible for deleting.
Attention:
You need to activate the "
media_bulk_upload
" module which is a submodule frommedia
to make this work. This should normally happen in anhook_update()
the code is there but for some reason it was still disabled on my side.Comment #4
marcusx CreditAttribution: marcusx commentedUpdating title, it is more likely that people search for delete if deleting stuff is not working than for operations. So let's make it a bit clearer what this is about.
Comment #6
das-peter CreditAttribution: das-peter commentedThanks :)