Skip to content

Better error message if admin route doesn't exist #35682

@FYvwotschel

Description

@FYvwotschel

Preconditions and environment

Magento version: 2.4.3-p2

Steps to reproduce

  1. Go to the admin panel
  2. Go to any URL that doesn't exist: localhost:8080/admin/idontexist
  3. Error message is: Invalid security or form key. Please refresh the page.

Expected result

Error message should be: Route with ID 'idontexist' doesn't exist or Route with ID 'idontexist' does not have a subroute 'index/index'

Actual result

Invalid security or form key. Please refresh the page.

Additional information

No response

Release note

No response

Triage and priority

  • 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

Area: Admin UIComponent: UiIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: ready for confirmationPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: doneReported on 2.4.xIndicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchSeverity: S2Major restrictions or short-term circumventions are required until a fix is available.feature request

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions