3
11

Inconsistent tag management

3mon 8d ago by community.nodebb.org/uid/21688 in general-discussion@community.nodebb.org

Hello!

For example, I want to delete all tags that are on the forum. I do this centrally in the admin panel. The problem is that after I delete all the tags, the forum topics still remain tagged. The opposite situation also occurs. A tag may exist in the admin panel list, but will not be linked to any of the topics. The second option is acceptable. What should be done about the first? How should tags be handled correctly?

Ok, I was able to reproduce after taking a peek at the data on your forum, will fix it for 4.9.3

https://github.com/NodeBB/NodeBB/issues/14084

@baris Great! So my observations and work were not in vain.

@Twissell ps if your forum has federation turned on you can tag us directly from your forum too! 😝

>The problem is that after I delete all the tags, the forum topics still remain tagged.

I couldn't reproduce this, I had three topics tagged test. I went to the ACP and deleted the test tag and it disappeared from those 3 topics. Are you still seeing the deleted tag when you load the topic page? What version of NodeBB are you using? If you can reliably reproduce let us know the reproduction steps.

>A tag may exist in the admin panel list, but will not be linked to any of the topics.

This is ok, you can have empty tags.

> @baris said: > > Are you still seeing the deleted tag when you load the topic page? What version of NodeBB are you using? If you can reliably reproduce let us know the reproduction steps

Yes and the second 'yes'. NodeBB version is latest stable 4.9.2

I login into admin panel Dashboard (Manage -> Tags), part by part delete all tags, BUT topics' tags persists. The resource is Bios-Doctor Forum. You may create and account then I'll grant you admin privileges, so you can see the problem firsthand. Firefox_Screenshot_2026-03-11T19-53-13.219Z.png

Firefox_Screenshot_2026-03-11T19-53-58.478Z.png

I can share any logs upon your request too :-)

Firefox_Screenshot_2026-03-11T19-53-13.219Z.png Firefox_Screenshot_2026-03-11T19-53-58.478Z.png

@twissell yes, the issue only occured on mass deleting tags and if the topic had all those tags.

For example you have a topic with tag1, tag2, tag3 and you delete them at the same time then it was causing this issue.

Ok I registered on your forum.

@baris thanks a lot feel free to chatting with me there!

What's your username there?

@baris Korwin

Nice notion, thanks!