codidact / qpixel

Q&A-based community knowledge-sharing software
https://codidact.com
GNU Affero General Public License v3.0
378 stars 69 forks source link

Post editor shows more tags than post/category pages do #1301

Closed cellio closed 5 months ago

cellio commented 5 months ago

meta:289816

I do not know if this is a one-off data error or if there is an underlying cause that we should address.

Example demonstrating the problem: https://electrical.codidact.com/posts/285721

This post displays one tag, but if you edit the post, the editor shows four tags:

Do we need to do some extra bookkeeping when we merge or rename a tag?
When the last use of a tag is deleted, should we delete the tag if there is no description? (I did not confirm that there are no deleted uses of that one tag; I scanned the deletions page but I can't directly search for that in the UI.)
Would any of that helped in this case?

Or is this a cache problem we can't do anything to prevent in the code and we should just fix cases when found?

MoshiKoi commented 5 months ago

Duplicate of #268?

cellio commented 5 months ago

Oh right -- I remembered something like this getting fixed, but that bug is clearly open.

cellio commented 5 months ago

Closed as duplicate. Added this meta link to the other bug.