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

Comments

andileco created an issue. See original summary.

andileco’s picture

Status: Active » Needs review
StatusFileSize
new816 bytes

  • andileco committed e6fd25ce on 5.0.x
    Issue #3370729 by andileco, nikathone: calculateDependencies using wrong...
andileco’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.