Ghost icon indicating copy to clipboard operation
Ghost copied to clipboard

Internal tags not all displayed in admin panel

Open cathysarisky opened this issue 1 year ago • 2 comments

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

  • [X] I agree to be friendly and polite to people in this repository

cathysarisky avatar Mar 14 '24 19:03 cathysarisky

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 🙂

github-actions[bot] avatar Oct 12 '24 09:10 github-actions[bot]

I could work on this

mitulagr2 avatar Oct 17 '24 09:10 mitulagr2

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 🙂

github-actions[bot] avatar Mar 01 '25 22:03 github-actions[bot]