magento / magento2

Prior to making any Submission(s), you must sign an Adobe Contributor License Agreement, available here at: https://opensource.adobe.com/cla.html. All Submissions you make to Adobe Inc. and its affiliates, assigns and subsidiaries (collectively “Adobe”) are subject to the terms of the Adobe Contributor License Agreement.
http://www.magento.com
Open Software License 3.0
11.5k stars 9.31k forks source link

Category URL rewrites cannot be created for categories under level 3 #36973

Closed github-jira-sync-bot closed 1 year ago

github-jira-sync-bot commented 1 year ago

Issue: When creating category URL rewrites, the category tree only loads upto level 3 categories.

Steps to reproduce:

Actual result: Category tree only displays upto level 3 categories. !image-2023-03-01-15-20-01-449.png|width=924,height=328!

Expected result: Category tree should display categories that are level 4 or below.

Additional information: app/code/Magento/Catalog/Block/Adminhtml/Category/AbstractCategory.php:: getRoot() is called via app/code/Magento/UrlRewrite/view/adminhtml/templates/categories.phtml with no $recursionLevel so the default recursion level is taken as 3.

github-jira-sync-bot commented 1 year ago

The issue was exported from the internal Jira. The link to the original Jira issue: https://jira.corp.adobe.com/browse/ACP2E-1703

m2-assistant[bot] commented 1 year ago

Hi @github-jira-sync-bot. Thank you for your report. To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:

Kannakiraj123 commented 1 year ago

@magento I am working on this

lakshmana49 commented 1 year ago

@magento I am working on this

m2-assistant[bot] commented 1 year ago

Hi @lakshmana49! :wave: Thank you for collaboration. Only members of Community Contributors Team are allowed to be assigned to the issue. Please use @magento add to contributors team command to join Contributors team.

lakshmana49 commented 1 year ago

@magento add to contributors team

m2-assistant[bot] commented 1 year ago

Hi @lakshmana49! :wave: Thank you for joining. Please accept team invitation :point_right: here :point_left: and add your comment one more time.

lakshmana49 commented 1 year ago

This issue is under development by an internal team. The fix will be delivered to the mainline according to our processes once done, and the status of this issue will be updated. If there are any incomplete Pull Requests to this issue and the community code will be re-used, all original commits will be preserved.

hostep commented 1 year ago

Seems to be fixed by: https://github.com/magento/magento2/commit/0aea99659a5f072165940033bce4a3a76b33c2ea