- 🇺🇸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.
#41 has some erros
And this was previously tagged for steps to reproduce and tests which still need to happen.Thanks.
- 🇮🇳India prem suthar Ahemdabad- Gujrat , Jodhpur - Rajsthan
Try TO Fix the #41 custom CMD Failed Patch.
- First commit to issue fork.
- last update
over 1 year ago 30,150 pass - @gantal opened merge request.
- last update
over 1 year ago 30,150 pass - last update
over 1 year ago 30,150 pass - @gantal opened merge request.
- last update
over 1 year ago 30,150 pass - @gantal opened merge request.
- 🇺🇸United States gantal
The last 3 patches did not work for me on Drupal 10.1, unfortunately. I created a merge request adding simple validation before setting weights, which I belatedly realized is the same as the patch in #20.
The larger issue seems to be that locked languages (and the default language in my case) cannot be loaded as
ConfigurableLanguage
entities. - 🇮🇳India naveentinu90
Since the last patches did not work for me on Drupal 10.1.x.
Thus I have created a new patch and its is working fine.Kindly review the patch.
- 🇫🇮Finland sokru
I've a patch from this issue on few projects, however I believe the root cause is same as @Dropa mentioned on #21 & #22. Tried to reproduce the issue with steps from #36, but no luck. So I'd vote for closing this as outdated/cannot reproduce (on clean install). The missing configuration should be rather easy to find with https://www.drupal.org/project/config_inspector → now that 📌 Add config validation for weights (blocks, filters, etc. all use weights) Fixed has landed on 10.3.x
- 🇺🇸United States TolstoyDotCom L.A.
I had this issue on Drupal 11.0.4 and it was because there was no
language.entity.en
config entity. There were such entities for various other languages, just noten
. I have no idea how that happened.Just because it might mask an underlying issue is no reason not to make the
updateLockedLanguageWeights
method more bulletproof.I've attached my attempt to do that based on D11 dev of Oct 18, 2024.
- 🇺🇸United States oknate Greater New York City Area
I ran into this today.
I think we shouldn't increment if we can't load the language:
$configurable_language = ConfigurableLanguage::load($language->getId()); if ($configurable_language === null) { continue; } // Update system languages weight. $max_weight++; $configurable_language ->setWeight($max_weight) ->save();
- Merge request !10640Fix locked languages not loading as ConfigurableLanguage → (Open) created by oknate
- 🇺🇸United States smustgrave
Tags for steps to reproduce, issue summary update, and test still applyl