magento2
magento2 copied to clipboard
URL rewrites are not generated for categories with "Include in Menu=No" when creating a store view
Preconditions (*)
- Magento 2.4-develop
Steps to reproduce (*)
- Navigate to Admin Panel > Catalog > Categories, select root category and add new subcategory:
Enable Category = Yes
Include in Menu = No
Category Name = Hidden Category
URL Key = hidden-category
- Open created category on the frontend using direct URL /hidden-category.html
- Navigate to Admin Panel > Stores > All Stores and create new store view:
Name: German
Code: german
Status: Enabled
- Return to frontend, switch to German store view.
- Open hidden category using direct URL /hidden-category.html
Expected result (*)
- Hidden category should be accessible on German store view.
Actual result (*)
- Hidden category is inaccessible on German store view, because URL rewrites are not generated for categories with "Include in Menu=No" when creating a store view.
- [ ] Severity: S2
Hi @stupachenko. Thank you for your report. To help us process this issue please make sure that you provided the following information:
- Summary of the issue
- Information on your environment
- Steps to reproduce
- Expected and actual results
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
@magento give me 2.4-develop instance - upcoming 2.4.x release
For more details, please, review the Magento Contributor Assistant documentation.
Please, add a comment to assign the issue: @magento I am working on this
- Join Magento Community Engineering Slack and ask your questions in #github channel.
Hi @swathishs. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:
-
[ ] 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).
Details
If the issue has a valid description, the labelIssue: Format is validwill be added to the issue automatically. Please, edit issue description if needed, until labelIssue: Format is validappears. -
[ ] 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue. If the report is valid, add
Issue: Clear Descriptionlabel to the issue by yourself. -
[ ] 3. Add
Component: XXXXXlabel(s) to the ticket, indicating the components it may be related to. -
[ ] 4. Verify that the issue is reproducible on
2.4-developbranchDetails
- Add the comment@magento give me 2.4-develop instanceto deploy test instance on Magento infrastructure.
- If the issue is reproducible on2.4-developbranch, please, add the labelReproduced on 2.4.x.
- If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here! -
[ ] 5. Add label
Issue: Confirmedonce verification is complete. -
[ ] 6. Make sure that automatic system confirms that report has been added to the backlog.
@magento give me 2.4-develop instance
Hi @swathishs. Thank you for your request. I'm working on Magento 2.4-develop instance for you
Hi @swathishs, here is your Magento instance.
Admin access: https://i-28358-2-4-develop.instances.magento-community.engineering/admin_e44f
Login: 6694e8cb Password: a2565879f849
Instance will be terminated in up to 3 hours.
The issue is been reproduced on the 2.4-develop branch
Attachments:
1.New subcategory:

2.Frontend with default view:

-
New store view:

-
German store view:

-
404 Error:

@swathishs Thank you for verifying the issue.
Unfortunately, not enough information was provided to acknowledge ticket. Please consider adding the following:
- [ ] Add
"Reproduced on "label(s) to this ticket based on verification result
Once all required information is added, please add label "Issue: Confirmed" again.
Thanks!
:white_check_mark: Confirmed by @swathishs
Thank you for verifying the issue. Based on the provided information internal tickets MC-34622 were created
Issue Available: @swathishs, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.
I will work on this issue.
Hi, @ProkopovVitaliy . Assigning an issue
Hi @engcom-Echo. Thank you for working on this issue. Looks like this issue is already verified and confirmed. But if you want to validate it one more time, please, go though the following instruction:
-
- Add/Edit
Component: XXXXXlabel(s) to the ticket, indicating the components it may be related to.
- Add/Edit
-
- Verify that the issue is reproducible on
2.4-developbranchDetails
- Add the comment@magento give me 2.4-develop instanceto deploy test instance on Magento infrastructure.
- If the issue is reproducible on2.4-developbranch, please, add the labelReproduced on 2.4.x.
- If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!
- Verify that the issue is reproducible on
-
- If the issue is not relevant or is not reproducible any more, feel free to close it.
- Join Magento Community Engineering Slack and ask your questions in #github channel.
@magento I am working on this
Hi @sodhisarab! :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.
@magento add to contributors team
Hi @sodhisarab! :wave: Thank you for joining. Please accept team invitation :point_right: here :point_left: and add your comment one more time.
@magento I am working on this
Hi @engcom-Bravo. Thank you for working on this issue. Looks like this issue is already verified and confirmed. But if you want to validate it one more time, please, go though the following instruction:
-
- Add/Edit
Area: XXXXXlabel to the ticket, indicating the functional areas it may be related to.
- Add/Edit
-
- Verify that the issue is reproducible on
2.4-developbranchDetails
- Add the comment@magento give me 2.4-develop instanceto deploy test instance on Magento infrastructure.
- If the issue is reproducible on2.4-developbranch, please, add the labelReproduced on 2.4.x.
- If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!
- Verify that the issue is reproducible on
-
- If the issue is not relevant or is not reproducible any more, feel free to close it.
- Join Magento Community Engineering Slack and ask your questions in #github channel.
Hi @stupachenko,
Thanks for your reporting and collaboration.
We have verified the issue in Latest 2.4-develop instance and the issue is reproducible.Kindly refer the screenshots.
Hidden category is inaccessible on German store view, because URL rewrites are not generated for categories with "Include in Menu=No" when creating a store view.
Hence Confirming the issue.
Thanks.
:white_check_mark: Jira issue https://jira.corp.adobe.com/browse/AC-11994 is successfully created for this GitHub issue.
:white_check_mark: Confirmed by @engcom-Bravo. Thank you for verifying the issue.
Issue Available: @engcom-Bravo, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.