TryGhost/Ghost

Creating a tag named "new" is subsequently not editable

已关闭

#26,095 创建于 2026年1月31日

 (4 条评论) (1 个反应) (0 位负责人)JavaScript (11,889 个派生)batch import
affects:adminbugcommunitygood first issue

仓库指标

星标
 (54,787 个星标)
PR 合并指标
 (平均合并 19天 11小时) (30 天内合并 658 个 PR)

描述

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

贡献者指南