- Issue created by @pameeela
- ๐ง๐ฉBangladesh eashika
Followed the steps and tried the same version (10.1.x-dev) to reproduce the issue, but it's working as expected.
- ๐ช๐ธSpain rodrigoaguilera Barcelona
Maybe here we can also tackle the empty third party setting
- ๐ฆ๐บAustralia pameeela
Clarified IS as itโs in the .yml config which Iโm guessing was not clear. It is definitely happening.
- ๐ง๐ฉBangladesh eashika
Thanks, @pameeela, yes that point was not clear.
- Status changed to Needs review
over 2 years ago 5:29am 6 February 2023 - Status changed to Needs work
about 2 years ago 9:57pm 15 February 2023 - ๐บ๐ธUnited States smustgrave
Didn't see a patch or open MR to review?
- @eashika opened merge request.
- Status changed to Needs review
about 2 years ago 4:45am 23 February 2023 - Status changed to Needs work
about 2 years ago 4:56pm 23 February 2023 - ๐บ๐ธUnited States smustgrave
Left a comment on the MR.
Also will require test coverage.
- First commit to issue fork.
- ๐บ๐ธUnited States dcam
The first MR took the wrong approach, which was removing the settings in the menu delete form submission step. But this would have left the settings in the event that a menu was deleted by some other means. That MR needed to be closed anyway since it was for a D10 branch. But the code for doing the setting removal was still fundamentally good even though it was put in the wrong place. So I copied it to a
hook_ENTITY_TYPE_delete()
implementation and used it as a starting point. Then I added a Kernel test. - ๐บ๐ธUnited States dcam
I just realized that I messed up and removed the check for the parent setting being set to a specific link. I'll fix it later.
- ๐ฎ๐ณIndia anju.philip@zyxware.com
Hi, I've verified and tested MR! 11946 and applied the patch successfully on 11. x-dev Version: The changes are working as expected.
- Create a New Menu Type: Go to /admin/structure/Menus/Add Menus, Give it a name (eg : Test Menu), Save.
- Add the Menu to a Content Type: Go to Structure > Content types > Basic page > Manage fields>Edit >Menu settings, Under "Available menus", check your new Test Menu, Save
- Delete the Menu: Go back to Structure > Menus, delete the Test Menu.
- Check if Config is Still There: Go to Configuration > Development > Configuration Synchronization, Click Export, Click Single item, Choose Content type, Select Basic page, Click Export
- Now open the exported YAML and check
Testing Result:
After you delete the menu, it will be removed from this YAML export automatically. Hence, the changes are working as expected.Attaching the screenshot for reference.
Hence, moving to RTBC!
Thanks