Error when grouping field is set to none

Created on 5 January 2024, 12 months ago
Updated 8 February 2024, 11 months ago

Problem/Motivation

After updating from 5.0.8 to 5.0.9, the following error appears:

Warning: Undefined array key "" in Drupal\charts\Plugin\views\style\ChartsPluginStyleChart->renderGrouping() (line 585 of modules/contrib/charts/src/Plugin/views/style/ChartsPluginStyleChart.php).

Steps to reproduce

Create or use an existing view with chart format and style using highcharts (probably same issue with other libraries), and no grouping field.

Proposed resolution

My current work around is to regress ChartsPluginStyleChart.php to the version 5.0.8

πŸ› Bug report
Status

Fixed

Version

5.0

Component

Views integration

Created by

πŸ‡¨πŸ‡¦Canada cdeces

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