Skip to content

CMS Page with identifier shipping cannot save. The value specified in the URL Key field would generate a URL that already exists #35115

Open
@aliomattux

Description

@aliomattux

Preconditions (*)

  1. 2.4.3-p1

Steps to reproduce (*)

  1. Go to Content > Pages
  2. Edit an existing CMS page with identifier shipping or create a new CMS page with identifier shipping
  3. Press Save

Expected result (*)

  1. The CMS page is saved without error.

Actual result (*)

  1. Error message is thrown preventing saving. The value specified in the URL Key field would generate a URL that already exists.

Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • [X ] Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Description
This bug report is linked to bug: #31007 but is not the same issue.

It is easy to respond and say that Magento core has a frontName value of shipping and therefore, you cannot use ever the url key shipping.

In a rebuttal to such a general statement, shipping is one of the most popular and widely used urls. It is a url used by companies to explain shipping polciies. Several major websites worldwide use this url, and Magento is saying, you cannot use it.

This new validator did not exist in previous versions of Magento 2. In our case we have had since 2008 a url for /shipping. Now Magento decides to not allow it, that doesn't work. We are forced to override "woraround" the validator to update content to a page that cannot just be changed because Magento needs it.

Metadata

Metadata

Assignees

Labels

Area: ContentComponent: CmsIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: dev in progressReported on 2.4.3-p1Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions