Undefined array key for "color_bundle" with new content types

Created on 17 November 2024, about 1 month ago

Problem/Motivation

When adding a new content type to a view, subsequently opening the settings will create a PHP warning about a missing array key, like:
Warning: Undefined array key "core_daterange" in Drupal\fullcalendar\Plugin\fullcalendar\type\FullCalendar->buildOptionsForm() (line 486 of /var/www/html/web/modules/contrib/fullcalendar/src/Plugin/fullcalendar/type/FullCalendar.php)

Proposed resolution

Add a nullsafe fallback to an empty array when accessing the bundle settings.

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇨🇦Canada mandclu

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024