calculateDependencies using wrong parameter in Views style plugin

Created on 27 June 2023, over 1 year ago

Problem/Motivation

The Chart style plugin was not adding the chart library (submodule) to the view dependencies when the view was exported via configuration synchronization. This means if you import, no library will be selected for the view, potentially causing issues.

Steps to reproduce

Navigate to /admin/config/development/configuration/single/export and export a View with a Chart. Look for the chart submodule in the dependencies.

Proposed resolution

Update the parameter in calculateDependencies() to be $this->options['chart_settings']['library']

Remaining tasks

None

User interface changes

None

API changes

None

Data model changes

Node

πŸ› Bug report
Status

Fixed

Version

5.0

Component

Views integration

Created by

πŸ‡ΊπŸ‡ΈUnited States andileco

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

Comments & Activities

Production build 0.71.5 2024