Skip to content

Category url not redirecting to the corresponding category #5116

@muhammad-outlet

Description

@muhammad-outlet

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

issue case 1: It highlights the corresponding category in the tree but in the category content it shows the "New Root Category".

issue case 2: It does not redirect to the new id instead it stays in the current id.

Expected Behavior

issue case 1: show the current category content on the right side with the corresponding store.

issue case 2: change to page of the new category introduced in the url.

Steps To Reproduce

  1. install fresh OpenMage:20.16.0
  2. create 2 new stores (store_id 2 and store_id 3)
  3. create 2 new subcategories under the root category (category_id 3 and category_id 4)

issue case 1: enter by direct url to a specific category and store ex: http://m1.openmage_last.com/index.php/admin/catalog_category/edit/store/2/key/0230b13489f66a0eb87163ef87cf6d41/id/3/

issue case 2: click on the category in the tree so it shows the actual content of the category then change the id in the url and enter: http://m1.openmage_last.com/index.php/admin/catalog_category/edit/store/2/key/0230b13489f66a0eb87163ef87cf6d41/id/4/

Environment

- OpenMage:20.16.0
- php:8.1

Anything else?

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions