Skip to content

Cannot create category schedule as it throws "error: : URL key for specified store already exists." error #38482

Open
@adarshkhatri

Description

@adarshkhatri

Preconditions and environment

  • Magento version: 2.4.6-p1 Commerce

Steps to reproduce

Create a category with this level:
Example tree (IDs are example purpose only)

Root Category (ID: 72)
        |- My Category (ID 75)
                    |- My Sub category (ID: 100)
                                   |- My sub sub category (ID: 300)

  1. Now go to URL rewrite and filter by catalog/category/view/id/300 as the target path. Once found make a note of the request path (which will be something like: my-category/my-sub-category/my-sub-sub-category) and delete that item.
  2. Now, create new custom URL rewrite:
    Request Path: my-category/my-sub-category/my-sub-sub-category
    Target Path: about-us OR any other CMS page
    Save it.
  3. Go to category ID 75 and then try to create a schedule. It will throw error: : URL key for specified store already exists. error in the browser.

Expected result

System should allow me to save the schedule for that category.

Actual result

Error thrown on the browser: error: : URL key for specified store already exists.

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

No one assigned

    Labels

    Adobe CommerceThe issue related to the Adobe Commerce(EE) or B2B functionalityArea: Admin UIComponent: UrlIssue: 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: ready for devReported on 2.4.6-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