The Needs Review Queue Bot → tested this issue. It either no longer applies to Drupal core, or fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
Apart from a re-roll or rebase, this issue may need more work to address feedback in the issue or MR comments. To progress an issue, incorporate this feedback as part of the process of updating the issue. This helps other contributors to know what is outstanding.
Consult the Drupal Contributor Guide → to find step-by-step guides for working with issues.
- First commit to issue fork.
- @rpayanm opened merge request.
- Status changed to Needs review
almost 2 years ago 7:18pm 3 February 2023 - Status changed to Needs work
almost 2 years ago 8:47pm 15 February 2023 - 🇺🇸United States smustgrave
This issue is being reviewed by the kind folks in Slack, #needs-review-queue-initiative. We are working to keep the size of Needs Review queue [2700+ issues] to around 400 (1 month or less), following Review a patch or merge request → as a guide.
moving to NW for change record.
- Status changed to RTBC
about 1 year ago 10:46am 22 October 2023 - last update
about 1 year ago Patch Failed to Apply - Status changed to Needs work
about 1 year ago 8:58am 23 October 2023 - 🇬🇧United Kingdom alexpott 🇪🇺🌍
+++ b/core/modules/system/system.post_update.php @@ -51,3 +51,30 @@ function system_post_update_linkset_settings() { + // Resave configuration to ensure any new sorting is applied. + $config_factory->getEditable($config_name)->save();
During updates you need to save with trusted data set to TRUE otherwise you can get in the way of other updates. Therefore you need to do sort here. Also you should only same them if they have third party settings.
- Status changed to Needs review
about 1 year ago 5:12pm 5 November 2023 - last update
about 1 year ago 30,487 pass - Status changed to RTBC
about 1 year ago 3:10pm 6 November 2023 - 🇺🇸United States smustgrave
@ameymudras thanks for working on this. Please include interdiffs though to easily see the changes.
+ $config_factory->getEditable($config_name)->save(TRUE);
Seems to address #35Since this was previously RTBC going to restore but do wonder about
unset($sandbox['config_names'][$key]);
- Status changed to Needs work
about 1 year ago 9:05am 7 November 2023 - 🇬🇧United Kingdom alexpott 🇪🇺🌍
+++ b/core/modules/system/system.post_update.php @@ -58,6 +58,35 @@ function system_post_update_linkset_settings() { + $config_factory->getEditable($config_name)->save(TRUE);
Trusting the configuration here means that it will not sort. So this update function will not work. See discussions on 🐛 Consistently sort filter formats to simplify config exports Fixed for lots about this.
I think here we should change the update to do the sorting and continue to use the trusted data feature as this update should not be fixing other things.
We also need to add a sort to \Drupal\Core\Config\Entity\ConfigEntityBase::preSave() in the same place as we do the dependency sorting.
- Status changed to Needs work
about 1 year ago 2:33pm 31 December 2023