Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed empty submenu group in backend menu #8998

Merged

Conversation

vovayatsyuk
Copy link
Member

@vovayatsyuk vovayatsyuk commented Mar 24, 2017

Description

This PR fixes empty submenu groups in case if group is added by one module and items inserted with another one, but customer disable it.

Manual testing scenarios

Synthetic steps, just to reproduce possible issue:

  1. Open app/code/Magento/Customer/etc/adminhtml/menu.xml

  2. Remove "Magento_Customer::customer_group" item

  3. Navigate to backend and see "Stores" menu. ("Other setting" submenu looks bad and it's useless):

    image

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds on Travis CI are green)

@ishakhsuvarov ishakhsuvarov self-assigned this Mar 24, 2017
@ishakhsuvarov ishakhsuvarov added this to the March 2017 milestone Mar 24, 2017
@ishakhsuvarov
Copy link
Contributor

Hi @vovayatsyuk
Could you please fix the failed unit test (Magento\Backend\Test\Unit\Block\AnchorRendererTest).
Thanks!

@vovayatsyuk
Copy link
Member Author

Done.

@ishakhsuvarov
Copy link
Contributor

@vovayatsyuk Thank you.

@magento-team magento-team merged commit 2579bda into magento:develop Mar 25, 2017
@vrann
Copy link
Contributor

vrann commented Mar 25, 2017

@vovayatsyuk Thank you for the contribution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants