I am subscribed to a newsletter with tid 10. Then I go to admin/content/simplenews/types/edit/10 and delete that newsletter. I verifyed that the table term_data does not contain tid 10 anymore. What I expected is that data containing tid 10 is removed from simplenews_snid_tid as well. But this is not the case. I still have a snid associated with tid 10. Is this a bug or a feature?

CommentFileSizeAuthor
#2 simplenews.378632.patch1.1 KBsutharsan

Comments

sutharsan’s picture

Category: support » bug
Priority: Normal » Minor

It will not harm since no new taxonomy with the same tid will be created and therefore no newsletter with this tid will exist, but it pollutes the database. I don't see how this can be a feature.

sutharsan’s picture

Status: Active » Fixed
StatusFileSize
new1.1 KB

Attached patch is committed to fix this error.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.