I created two galleries, put some images into them, then deleted all images and tried to delete the galleries but they do not disappear. Could somebody please try to verify this or point me in a direction of what additional information I could provide to narrow down the problem?
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | image_tid.patch | 936 bytes | neclimdul |
Comments
Comment #1
linulo commentedDeleting the corresponding taxonomy vocabulary solved the problem.
So this may not be a bug but rather an ambiguity in the descriptive texts for gallery deletion.
Comment #2
archetwist commentedI think it is a bug however. Deleting a gallery is not only unsuccesfull but also creates new column in the term_data table. And whenever I try to delete a gallery I get 'Created new gallery 0' message also. It does not seem to be normal ;-)
Comment #3
neclimdulSimple fix. $tid isn't initialized so we don't know which gallery to delete. Did some related cleanup while I was at it.
Patch Attached
Comment #4
ashtonium commentedFollow up: confirming this patch as working.
Gallery terminology can now be deleted. No other issues noticed as a result of the patch.
Comment #5
archetwist commentedHas worked here also. Thanks
Comment #6
trippy commentedWorked for me as well
Comment #7
decafdennis commented+1, works as advertised, patch still applies (r1.186)
Comment #8
walkah commentedcommitted. thanks! :)
Comment #9
(not verified) commented