Needs work
Project:
Drupal core
Version:
main
Component:
menu_link_content.module
Priority:
Major
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
6 Jul 2018 at 15:15 UTC
Updated:
12 Apr 2022 at 03:20 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #3
bn_code commentedComment #4
bn_code commentedHas been added.
Comment #5
bn_code commentedComment #7
bn_code commentedComment #8
rodman1980 commentedComment #12
mrinalini9 commentedComment #13
mrinalini9 commentedComment #14
mrinalini9 commentedHi,
Here is the rerolled patch.
Thanks
Mrinalini
Comment #15
bunty badgujar commentedWe need to add hook_update_N to install new FieldStorageDefinition in #14.
Comment #16
Lal_Comment #18
mrinalini9 commentedComment #19
bunty badgujar commentedRe-rolling #15 with test case issue fix.
Comment #21
raunak.singh commentedI will create the patch passing the test cases.
Comment #22
raunak.singh commentedRe-rolling #19 with test case issue fix.
Comment #24
sharma.amitt16 commentedWe are adding a new column menu in the menu_link_content table while the menu_name is already there for the same purpose. This is a redundancy.
Also, the description given for the field is a little bit confusing.
Shouldn't we modify the existing field or remove the existing if we are trying to use a new one.
Test cases are getting failed because we are adding a reference field but not passing the value of this in test cases. We should pass the menu in test cases.
In core/modules/menu_link_content/tests/src/Kernel/MenuLinksTest.php
The existing menu_name field may be used in some other places as well as in core and contributed both. So we can't remove the field directly. We need to have a plan to use/remove this.
Comment #25
rajandro commentedRemoving

Needs rerolltag as patch #22 (menu-name-is-a-string-field-2984224-22.patch) is working fine with the current core version.Comment #29
quietone commentedDiscussed in #bugsmash with larowlan. I agree with him that this is not bug and is either a task or feature request. I think task is a better fit and keeping at major.