The "site_default" plugin does not exist

Created on 29 May 2024, 8 months ago

Problem/Motivation

Hello, if you select the "Site default" library in the presentation style, you will receive an error when saving:

Drupal\Component\Plugin\Exception\PluginNotFoundException: The "site_default" plugin does not exist. Valid plugin IDs for Drupal\charts\ChartManager are: billboard, c3, chartjs, highcharts in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (line 53 of /var/www/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php).

Steps to reproduce

Proposed resolution

Add an additional condition to the dependency calculation to skip this for the "site_default" option.

I believe that with the "site_default" option, the view should not include the current library as a dependency, since it could change at any time.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

5.0

Component

Views integration

Created by

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