Skip to content

Creating a tag named "new" is subsequently not editable #26095

@iamtk

Description

@iamtk

Issue Summary

Creating a tag in Ghost Admin with the name and consequently the slug "new" means the tag cannot be edited or deleted after creation presumably due to the path "/ghost/#/tags/new" being reserved for the creating a new tag page.

Steps to Reproduce

  1. Navigate to the Tags page within Ghost Admin (/ghost/#/tags)
  2. Click "New Tag"
  3. Enter "new" as name of the new tag being created or enter "new" as the name of the tag slug
  4. Click "Save" in top right
  5. Return to the Tags page
  6. Click on the tag you have just created with the slug "new"
  7. You are taken to the create new tag page rather than the edit page for the tag with slug "new"

Ghost Version

6.16.1

Node.js Version

22.21.1

How did you install Ghost?

Ubuntu

Database type

MySQL 8

Browser & OS version

MacOS 15.6.1 / Firefox 147.0.2

Relevant log / error output

Code of Conduct

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs:triage[triage] this needs to be triaged by the Ghost team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions