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
None.
User interface changes
None.
API changes
None.
Data model changes
None.
Comments
Comment #3
kksandr commentedComment #7
andileco commentedThank you - fixed!
Comment #8
andileco commentedActually, also needs to be applied for the 5.1.x branch
Comment #10
andileco commented