In the gallery node there are these nice Contextual links on each image. In there is also a "delete" link, which is quite dangerous.

Because as explained here http://drupal.org/node/1230938#comment-4877448, one has to remove a media file before deleting it. If you delete it before one removes it, this wreaks havoc to the gallery, as it is not really deleted and the gallery thinks it would still be there. Navigating via "next" or "previous" through the gallery gets you to a page like this:

There might be quite some trouble with clients doing a gallery with 75 images, breaking it that way and having to upload all 75 images again as well as adding a description to each...
A user only sees this link, if he has "administer media" permissions, o.k. But especially with smaller sites and smaller clients they often have full admin permissions, so they see the link.
So all occurrences of "delete" should be removed from the Media gallery interface. This is the only one I found, but there may be more.
| Comment | File | Size | Author |
|---|---|---|---|
| gallery-page-not-found.png | 14.53 KB | eigentor | |
| action-links-gallery_001.png | 171.77 KB | eigentor |
Comments
Comment #1
moloc commentedThank you for reporting. This issue will be active, if you use media 2.x (lets first implement #1391332: Support file field as well as deprecated media asset field and #1244204: Make media_gallery work with media-7.x-2.x branch). Then we can work on this issue.
One related issue is #1715422: Deleting a file without removing it from the gallery breaks that gallery.
Comment #2
moloc commentedDeleting is now correctly implemented in media gallery: See #1715422: Deleting a file without removing it from the gallery breaks that gallery
So i think, we can close this issue (maybe this is a duplicate?).
Comment #3
moloc commentedFixed in 2.x, in 1.x you cannot remove a file, if it is in use.