acts-as-taggable-on icon indicating copy to clipboard operation
acts-as-taggable-on copied to clipboard

Tagging.remove_unused_tags should gracefully handle already deleted tags

Open irphilli opened this issue 5 years ago • 0 comments

Together with https://github.com/salsify/goldiloader, I noticed that the order of how tags/taggings are deleted can cause the remove_unused_tags callback to be called multiple times. This is normally fine, however, the callback performs a reload on a tag, and that tag may have already been deleted. remove_unused_tags should gracefully handle already deleted tags.

irphilli avatar Feb 26 '20 01:02 irphilli