- last update
about 1 year ago Patch Failed to Apply - π©πͺGermany Anybody Porta Westfalica
Just ran into this issue here: β¨ Use weight to sort the layouts Active
Weight is essentially needed and we should add it. I'll add it as TODO and hope we can finally finish this one ;)
- First commit to issue fork.
- Open on Drupal.org βEnvironment: PHP 8.2 & MySQL 8last update
about 1 year ago Not currently mergeable. - @grevil opened merge request.
- π©πͺGermany Grevil
I manually applied patch "3089418-22.patch" on the issue branch.
- last update
about 1 year ago 30,349 pass, 6 fail - last update
about 1 year ago 30,349 pass, 6 fail - @grevil opened merge request.
- last update
about 1 year ago 30,349 pass, 6 fail - last update
about 1 year ago 30,342 pass, 7 fail - last update
about 1 year ago 30,342 pass, 7 fail - Status changed to Needs review
about 1 year ago 8:37am 5 October 2023 - π©πͺGermany Grevil
All done! I hope the provided test changes suffice! Failing tests seem to be unrelated! See π strnatcasecmp(): Passing null to parameter #2 ($string2) of type string is deprecated Needs work , for a similar issue.
- Status changed to Needs work
about 1 year ago 8:41am 5 October 2023 - π©πͺGermany Grevil
Never mind, there are also failing tests related to this issue.
- Status changed to Needs review
about 1 year ago 8:48am 5 October 2023 - last update
about 1 year ago 30,349 pass, 6 fail - Status changed to Needs work
about 1 year ago 10:24am 5 October 2023 - π©πͺGermany Anybody Porta Westfalica
@Grevil: Still 6 failing tests here.
- Status changed to Needs review
about 1 year ago 2:49pm 5 October 2023 - last update
about 1 year ago 30,347 pass, 6 fail - Status changed to Needs work
about 1 year ago 6:54pm 5 October 2023 - πΊπΈUnited States smustgrave
Have not yet reviewed or tetsed
But seems to have some test failures.
Usually there's just 1 random failure but 6 consistently means the MR is causing them. If they're fixed in π strnatcasecmp(): Passing null to parameter #2 ($string2) of type string is deprecated Needs work then this should be postponed as it can't be merged with failures.
- π©πͺGermany Grevil
Thank you, @smustgrave! I'll take a deeper look later on. The test failures are also very consistent, even after rebasing, so it probably is somehow related to the changes here.
- π©πͺGermany Anybody Porta Westfalica
@smustgrave #37 references an unrelated issue with the same error. I just ran into exactly this issue in LayoutPluginManager.
We need a separate, but similar issue as referenced in #37 but for LayoutPluginManager!Here are other similar issues:
π Shortcut links without a title cause deprecation notices. Needs work
#3306453: Resolve Deprecated function: strnatcasecmp(): Passing null to parameter #2 β@Grevil could you please open an issue to fix
getSortedDefinitions()
in LayoutPluginManager?
Seems it just needs?? ''
or casting to(string)
- π©πͺGermany Anybody Porta Westfalica
Here's the correct issue: π Add missing category to Drupal\layout_builder\Plugin\Layout\BlankLayout and let modules and themes alter the list of layouts RTBC
- π©πͺGermany Anybody Porta Westfalica
Please review π Add missing category to Drupal\layout_builder\Plugin\Layout\BlankLayout and let modules and themes alter the list of layouts RTBC to get it merged asap so we can proceed here :)