- Issue created by @kruser
- πΊπΈUnited States kmonty San Francisco, CA
I'm currently working on a patch based off the work done here: https://www.drupal.org/project/language_switcher_menu/issues/3348242 π SA-CORE-2023-003 Fixed
- Assigned to kmonty
- πΊπΈUnited States kmonty San Francisco, CA
I have a patch working on localdev. Going to have our QA team give it a test before posting here. Assigning to myself for now.
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 9:54pm 15 March 2023 - πΊπΈUnited States kmonty San Francisco, CA
Our team is satisfied that this is sufficient to get us to be able to deploy the security release. I didn't look into if this needs tests or anything. Again, just prioritized getting today's security release out. Hope this helps folks!
Note: patch was written against `3.0.x-dev` but it applies cleanly to `3.1.0`
- π«π·France tostinni
I can confirm that this patch also fixed these errors that we had after testing 9.5.5 which was breaking the language switcher.
- Notice: Trying to get property 'links' of non-object in Drupal\dropdown_language\Plugin\Block\DropdownLanguage->build() (line 147 of modules/contrib/dropdown_language/src/Plugin/Block/DropdownLanguage.php). - Warning: Invalid argument supplied for foreach() in Drupal\dropdown_language\Plugin\Block\DropdownLanguage->build() (line 186 of modules/contrib/dropdown_language/src/Plugin/Block/DropdownLanguage.php). - Warning: count(): Parameter must be an array or an object that implements Countable in Drupal\dropdown_language\Plugin\Block\DropdownLanguage->build() (line 238 of modules/contrib/dropdown_language/src/Plugin/Block/DropdownLanguage.php).
- π©πͺGermany Anybody Porta Westfalica
Confirming this issue. Just killed a project with a WSOD ;)
Maintainer should have a look asap.
- π©πͺGermany Anybody Porta Westfalica
Aligned the title to be more clear. The fix might be correct, but someone has to test this carefully. I can't do this currently.
- @anybody opened merge request.
- π©πͺGermany Anybody Porta Westfalica
@SKAUGHT or @Grevil could you please review this? LGTM!
Should also be cherry-picked into 4.0.x once merged.
- π©πͺGermany Anybody Porta Westfalica
I was now able to reproduce the reported issues and can confirm it's perfectly fixed by this patch. Also I think π¬ Dropbutton disappear Closed: duplicate had the same reason.
Thanks @kmonty for fixing this! I'll now merge the fix into 3.0.x and 4.0.x
- Status changed to RTBC
over 1 year ago 6:57am 17 March 2023 -
Anybody β
committed 6ccb97fe on 3.0.x
Issue #3348286: Use Url::fromRouteMatch instead of Url::fromRoute
-
Anybody β
committed 6ccb97fe on 3.0.x
-
Anybody β
committed faa5e5ab on 4.0.x
Issue #3348286: Use Url::fromRouteMatch instead of Url::fromRoute
-
Anybody β
committed faa5e5ab on 4.0.x
- Status changed to Fixed
over 1 year ago 6:59am 17 March 2023 - π©πͺGermany Anybody Porta Westfalica
Merged into 3.0.x and cherry-picked into 4.0.x!
Thank you very much! I don't have permission to administer releases, so @SKAUGHT will have to create a 3.1.4 and 4.0.3 release to fix this in stable releases.
Thank you all! :)
Thank you for being this responsive! I had the exact same problem. I will wait until the stable release to update our instances :)
Automatically closed - issue fixed for 2 weeks with no activity.