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?

CommentFileSizeAuthor
#3 image_tid.patch936 bytesneclimdul

Comments

linulo’s picture

Category: bug » task

Deleting 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.

archetwist’s picture

Category: task » bug
Priority: Minor » Normal

I 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 ;-)

neclimdul’s picture

Status: Active » Needs review
StatusFileSize
new936 bytes

Simple 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

ashtonium’s picture

Follow up: confirming this patch as working.

Gallery terminology can now be deleted. No other issues noticed as a result of the patch.

archetwist’s picture

Status: Needs review » Reviewed & tested by the community

Has worked here also. Thanks

trippy’s picture

Worked for me as well

decafdennis’s picture

+1, works as advertised, patch still applies (r1.186)

walkah’s picture

Status: Reviewed & tested by the community » Fixed

committed. thanks! :)

Anonymous’s picture

Status: Fixed » Closed (fixed)