- Issue created by @narendraR
- Status changed to Needs review
8 months ago 12:54pm 18 April 2024 - Status changed to Needs work
8 months ago 1:37pm 18 April 2024 The Needs Review Queue Bot โ tested this issue. It no longer applies to Drupal core. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide โ to find step-by-step guides for working with issues.
- ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
Update path from the start โ well done!
But a review revealed some of the validation logic added here is incorrect. And sadly, that review unveiled that
needs to be added to the growing list at ๐ book.settings, contact.settings, filter.settings, search.settings all violate the basic rule of simple config: they cannot have dependencies Active ๐ฌ
- Status changed to Needs review
8 months ago 12:39pm 24 April 2024 - Status changed to Needs work
8 months ago 1:39pm 24 April 2024 The Needs Review Queue Bot โ tested this issue. It no longer applies to Drupal core. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide โ to find step-by-step guides for working with issues.
- Status changed to Needs review
8 months ago 2:36pm 24 April 2024 - Status changed to Needs work
8 months ago 3:06pm 24 April 2024 - Status changed to Needs review
8 months ago 7:47am 29 April 2024 - Status changed to Needs work
8 months ago 9:58am 29 April 2024 - ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
We're almost there, but โฆ I spotted several problematic things that suggest there's ecosystem disruption in this MR. If we're lucky, then most of my feedback can be addressed by adding comments and deleting unnecessary changes ๐ค๐ค
- Status changed to Needs review
8 months ago 2:15pm 29 April 2024 - Status changed to RTBC
8 months ago 2:27pm 29 April 2024 - Status changed to Needs work
8 months ago 2:40pm 29 April 2024 - Status changed to RTBC
8 months ago 2:54pm 29 April 2024 - ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
@catch: I see the pattern, but in this case we're not dealing with config entities, but simple config:
core.menu.static_menu_link_overrides: type: config_object
So AFAICT your concern just doesn't apply here? ๐
- ๐ฌ๐งUnited Kingdom catch
Errr good point.
Committed/pushed to 11.x and cherry-picked to 10.3.x, thanks!
- Status changed to Fixed
8 months ago 2:59pm 29 April 2024 - Status changed to Needs work
8 months ago 3:05pm 29 April 2024 - ๐ฌ๐งUnited Kingdom catch
No wait it does... committed then reverted again.
See the changes in standard and umami shipped config. I think it needs an event listener for the config save event instead of a hook_ENTITY_TYPE_presave(). Otherwise how do install profiles/distributions know that their config needs to be updated?
- ๐ง๐ชBelgium wim leers Ghent ๐ง๐ช๐ช๐บ
Ahhh, you're right โ it's not a
hook_ENTITY_TYPE_presave()
we need, but a generic config event save listener indeed ๐My bad, sorry! ๐ซฃ
- ๐ฎ๐ณIndia narendraR Jaipur, India
I am not sure, what should be written on config save:
$config_name = $event->getConfig()->getName(); if ($config_name === 'core.menu.static_menu_link_overrides') { // What needs to be done here? }
- ๐ฌ๐งUnited Kingdom catch
@narendraR we'd move the logic from
config_post_update_set_menu_parent_value_to_null
to change the values when it detects they're wrong, then the post update would just load and save the config. - ๐ฎ๐ณIndia omkar.podey
omkar.podey โ made their first commit to this issueโs fork.
- Status changed to Needs review
8 months ago 8:47am 8 May 2024 - Status changed to Needs work
7 months ago 8:55am 23 May 2024 - ๐ฎ๐ณIndia kunal.sachdev
Looks good, just some minor docs and test changes required.
- Status changed to Needs review
7 months ago 8:06am 27 May 2024 - Status changed to Needs work
7 months ago 10:46am 28 May 2024 - Status changed to Needs review
7 months ago 10:42am 29 May 2024 - Status changed to RTBC
7 months ago 7:14am 30 May 2024 - Status changed to Needs work
7 months ago 9:16am 30 May 2024 - ๐ฌ๐งUnited Kingdom catch
Couple of comments on the MR about the bc layer.
- Status changed to Needs review
7 months ago 4:08am 6 June 2024 - ๐บ๐ธUnited States smustgrave
My only question is the wording of the deprecation "and will not be allowed in " I didn't anything example of that in core but can't think of what should replace it. Maybe "Will be required in.." Will leave in review for other thoughts.
- Status changed to RTBC
6 months ago 6:10pm 26 June 2024 - ๐บ๐ธUnited States smustgrave
So don't want my one question to hold this one up.
- Status changed to Needs work
6 months ago 9:59am 28 June 2024 - ๐ฌ๐งUnited Kingdom alexpott ๐ช๐บ๐
I've added some review comments to the MR.
- Status changed to Needs review
6 months ago 7:54am 1 July 2024 - Status changed to Needs work
6 months ago 5:39am 3 July 2024 - ๐ฎ๐ณIndia yash.rode pune
Feedback from #3441434-40: Add validation constraints to core.menu.schema.yml โ are addressed, only a small nit, after that it can be self-RTBCed
- ๐ฎ๐ณIndia narendraR Jaipur, India
Deprecation should point to CR and not issue link.
- Status changed to Needs review
6 months ago 11:35am 3 July 2024 - Status changed to Needs work
6 months ago 8:45am 4 July 2024 - ๐ฎ๐ณIndia yash.rode pune
The change record looks good, except the status needs to be published before used in a deprecation.
- Status changed to Needs review
6 months ago 8:55am 4 July 2024 - Status changed to RTBC
6 months ago 9:16am 4 July 2024 - Status changed to Needs work
6 months ago 9:22am 4 July 2024 - ๐ฎ๐ณIndia narendraR Jaipur, India
CR should not be in published state, it will be published once issue is fixed
- Status changed to RTBC
6 months ago 9:26am 4 July 2024 - ๐ฎ๐ณIndia yash.rode pune
My bad #46 ๐ Add validation constraints to core.menu.schema.yml Needs work , changed the CR status
- Status changed to Needs work
6 months ago 9:57am 4 July 2024 - ๐ฌ๐งUnited Kingdom alexpott ๐ช๐บ๐
I think we need to allow empty strings for parent as this should not be changing APIs.
- ๐ฎ๐ณIndia kunal.sachdev
I tried to use
AtLeastOneOf
constraint here but I faced two problems here :-AtLeastOf
constraint requires an array of constraint objects and we were getting constraint arrays here. So what I did was implemented a plugin class forAtLeastOneOf
, and converted the constraint arrays into constraint objects.RecursiveContextualValidator
prevents us from using custom groups. But we want to useAtLeastOneOf
constraint there and I think it's validator requires every constraint to have a group. So for that I created this follow-up ๐ Remove the restriction from RecursiveContextualValidator that prevents using custom groups. Needs review .
- ๐ณ๐ฟNew Zealand quietone
Changes are made on on 11.x (our main development branch) first, and are then back ported as needed according to our policies.