[2.0.0-beta5] Final beta wrap-up

Created on 29 November 2024, 11 months ago

Problem/Motivation

2 bugs found during beta5 tests

1 A little typing error which can be fixed by this:

++ b/src/Element/ComponentElementAlter.php
@@ -56,7 +56,7 @@ class ComponentElementAlter implements TrustedCallbackInterface {
 
       // Because SDC validator is sometimes confused by an empty slot.
       // We check the current slot render element.
-      if (self::isSlotEmpty($slot)) {
+      if (is_array($slot) && self::isSlotEmpty($slot)) {
         self::mergeSlotBubbleableMetadata($element, $slot, 1);
         unset($element['#slots'][$slot_id]);
         continue;

2. A fatal error I didn't find any solution yet:
Error: Typed property Drupal\Core\Plugin\DefaultPluginManager::$moduleExtensionList must not be accessed before initialization in Drupal\ui_patterns\ComponentPluginManager->getExtensionLabel() (line 360 of modules/custom/ui_patterns/src/ComponentPluginManager.php).

They may be related to your MR of yesterday. Can you have a look?

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇫🇷France pdureau Paris

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @pdureau
  • 🇩🇪Germany Christian.wiedemann

    christian.wiedemann made their first commit to this issue’s fork.

  • Merge request !277fix moduleExtensionList injection → (Merged) created by Christian.wiedemann
  • Pipeline finished with Success
    11 months ago
    Total: 422s
    #353985
  • Pipeline finished with Failed
    11 months ago
    Total: 256s
    #356175
  • Pipeline finished with Failed
    11 months ago
    Total: 148s
    #361357
  • Pipeline finished with Failed
    11 months ago
    Total: 178s
    #362619
  • Pipeline finished with Failed
    11 months ago
    Total: 159s
    #363064
  • Pipeline finished with Success
    8 months ago
    #447666
  • Pipeline finished with Success
    8 months ago
    #447668
  • Pipeline finished with Success
    4 months ago
    Total: 271s
    #540318
  • Issue was unassigned.
  • Status changed to Fixed 3 months ago
  • Pipeline finished with Success
    about 1 month ago
    #610696
  • Pipeline finished with Success
    18 days ago
    #627864
  • Pipeline finished with Canceled
    4 days ago
    #642515
  • Pipeline finished with Success
    4 days ago
    #642516
  • Pipeline finished with Failed
    2 days ago
    Total: 264s
    #644515
  • Pipeline finished with Failed
    2 days ago
    Total: 926s
    #644521
  • Pipeline finished with Failed
    2 days ago
    Total: 273s
    #644575
  • Pipeline finished with Failed
    2 days ago
    Total: 1008s
    #644579
  • Pipeline finished with Failed
    2 days ago
    Total: 728s
    #644607
  • Pipeline finished with Failed
    1 day ago
    Total: 925s
    #644651
  • Pipeline finished with Canceled
    1 day ago
    Total: 91s
    #644673
  • Pipeline finished with Success
    1 day ago
    Total: 1143s
    #644675
  • Pipeline finished with Failed
    1 day ago
    Total: 1051s
    #644754
  • Pipeline finished with Success
    1 day ago
    Total: 911s
    #644765
Production build 0.71.5 2024