After (in list view) selecting some files, that I want to delete, I select proper option ("delete selected files") and click the button.
Page reloads, I get a summary list of files and this error:
Notice: Undefined index: options w _media_browser_plus_media_admin_list_alter() (linia 192 z ...\sites\all\modules\media_browser_plus\includes\file_entity.admin.inc).
This doesn't stop me from actually deleting files. I can click "delete" button and files are gone.
I looked inside the file (which notice points to) and found this 192th line. Don't know why there is this 'option' index since the first it is being set happens in line 195 ;/
-----
One more bug on this page (the one with the summary titled "Are you sure you want to delete ... ")
A the bottom there is unnecessary pagination !
Comments
Comment #1
emptyvoid commentedFile delete doesn't work at all on my built.
Modules Involved.
File entity -- 7.x-2.0-unstable6
Media -- 7.x-2.0-unstable6
Media Browser Plus for Media 2.x -- 7.x-2.x-dev
Media Internet Sources -- 7.x-2.0-unstable6
Media: YouTube (media_youtube) -- 7.x-1.0-beta3
Both list and thumbnail views can't delete any files no matter the number selected.
List View
http://www.example.com/admin/content/file
Thumbnails View
http://www.example.com/admin/content/file/thumbnails
I noticed that on line 46 of the media_browser_plus.pages.inc it references a method defined in the file_entity module. But that method doesn't exist any longer. I changed it to this, but it still doesn't work.
This change loads the correct confirmation form, however the submit hook expects the file ID list to exist in the $form_state['values']['files'] variable and it doesn't exist. Even though I attempt to fine the value in the $form_state in this method above it doesn't appear to properly use a "by reference" and update the global object. :(
This results in the following errors:
Comment #2
emptyvoid commentedDiscussion about this issue on another issue: http://drupal.org/node/1660918
Comment #3
Jackinloadup commentedAs emptyvoid stated above this is a duplicate of #1660918: Cannot delete multiple files.
Please see that issue for patches.
Comment #3.0
Jackinloadup commentedOne more bug found