- Issue created by @tuwebo
- Merge request !4Issue #3487820: 'layout' context in getLayout() causes potential null reference errors → (Merged) created by tuwebo
- First commit to issue fork.
Automatically closed - issue fixed for 2 weeks with no activity.
The getLayout() method in Drupal\layout_library\Plugin\SectionStorage\Library relies on getSectionList(), which may return NULL if the necessary layout context is missing/not required. This creates potential for null reference errors in dependent methods, such as initLayoutOverrides() which assumes getLayout() will always return a valid layout instance.
Active
1.0
Code
Automatically closed - issue fixed for 2 weeks with no activity.