Skip to content

CMS Page allows route names to be saved #32913

Closed
@dverkade

Description

@dverkade

Preconditions

  1. Magento 2.4.1

Steps to reproduce

  1. Create a new CMS page
  2. Set the title to "Checkout"
  3. Save the CMS page. Pages is saved, URL Key is set to "checkout"
  4. Try to save the page another time, notice "The value specified in the URL Key field would generate a URL that already exists." is shown.

Expected result

  1. On the first save when no URL key is given, validation if the generated URL key is the same as a route name should still be checked.
  2. Notice "The value specified in the URL Key field would generate a URL that already exists." is shown.

Actual result

  1. CMS page is saved with a URL key that is also used as a route name.
  2. When trying to access checkout via the frontend user will get a CMS page instead.

image


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.
  • 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”.

Metadata

Metadata

Assignees

Labels

Component: CmsFixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: 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: doneReproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions