Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
cellio opened this issue Feb 1, 2024 · 3 comments
Closed

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

cellio opened this issue Feb 1, 2024 · 3 comments
Labels
area: backend Changes to server-side code type: analysis Potential changes that require some design/architecture/code analysis before we start implementing. type: bug Something isn't working

Comments

@cellio
Copy link
Member

cellio commented Feb 1, 2024

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:

  • RF, the single displayed tag
  • RF-switch, which the tags page shows with 0 uses
  • esd and tvs, which don't exist but ESD and TVS do -- I think these were either merged or renamed

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?

@cellio cellio added area: backend Changes to server-side code type: bug Something isn't working type: analysis Potential changes that require some design/architecture/code analysis before we start implementing. labels Feb 1, 2024
@MoshiKoi
Copy link
Member

Duplicate of #268?

@cellio
Copy link
Member Author

cellio commented Feb 11, 2024

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

@cellio cellio closed this as not planned Won't fix, can't repro, duplicate, stale Feb 11, 2024
@cellio
Copy link
Member Author

cellio commented Feb 11, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: backend Changes to server-side code type: analysis Potential changes that require some design/architecture/code analysis before we start implementing. type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants