Menu local task variable may not be present

Created on 2 May 2024, about 2 months ago
Updated 16 May 2024, about 1 month ago

Problem/Motivation

When testing the theme with UI Patterns 2 and πŸ“Œ [5.1.x] Automatic conversion to SDC & UI Patterns 2.x Needs work

Drupal\Core\Render\Component\Exception\InvalidComponentException: [active] NULL value found, but a boolean or an object is required. This may be because the property is empty instead of having data present. If possible fix the source data, use the |default() twig filter, or update the schema to allow multiple types. in Drupal\Core\Theme\Component\ComponentValidator->validateProps() (line 203 of core/lib/Drupal/Core/Theme/Component/ComponentValidator.php).

Proposed resolution

add is_active|default(false) in presenter template.

πŸ› Bug report
Status

Fixed

Version

5.0

Component

Code

Created by

πŸ‡«πŸ‡·France Grimreaper France πŸ‡«πŸ‡·

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024