-
-
Notifications
You must be signed in to change notification settings - Fork 10.6k
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
Internal tags not all displayed in admin panel #19871
Comments
Our bot has automatically marked this issue as stale because there has not been any activity here in some time. The issue will be closed soon if there are no further updates, however we ask that you do not post comments to keep the issue open if you are not actively working on a PR. We keep the issue list minimal so we can keep focus on the most pressing issues. Closed issues can always be reopened if a new contributor is found. Thank you for understanding 🙂 |
I could work on this |
Our bot has automatically marked this issue as stale because there has not been any activity here in some time. The issue will be closed soon if there are no further updates, however we ask that you do not post comments to keep the issue open if you are not actively working on a PR. We keep the issue list minimal so we can keep focus on the most pressing issues. Closed issues can always be reopened if a new contributor is found. Thank you for understanding 🙂 |
Issue Summary
It is possible to create multiple internal tags with the same name, via minor unintended abuse of the Admin API. These tags get a -2 appended to them, for example hash-firsttag if accidentally duplicated becomes hash-firsttag-2 (and then hash-firsttag-2-2 if one makes the same API error repeatedly).
Visiting /ghost/#/tags/ shows only the original hash-firsttag tag, with the posts that have that tag listed. It does not display the additional -2 and -2-2 versions of the tag, making it difficult to see the problem and delete the extra tags. Given that themes use internal tags for a variety of unexpected purposes, this can cause breakages in weird places.
Steps to Reproduce
see above.
Ghost Version
Ghost Pro
Node.js Version
Ghost Pro
How did you install Ghost?
Ghost Pro
Database type
MySQL 8
Browser & OS version
Chrome, windows 10, recent.
Relevant log / error output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: