In a view with Group Aggregation selected, when you select the option "no aggregation, results will be shown after each group (like subtotals)" the following notices will pop-up:

Notice: Undefined variable: field_label in Drupal\views_aggregator\Plugin\views\style\Table->setAggregatedGroupValues() (line 1099 of modules\contrib\views_aggregator\src\Plugin\views\style\Table.php).
Notice: Undefined index: in Drupal\views_aggregator\Plugin\views\style\Table->setAggregatedGroupValues() (line 1099 of modules\contrib\views_aggregator\src\Plugin\views\style\Table.php).
Notice: Trying to get property of non-object in Drupal\views_aggregator\Plugin\views\style\Table->getCell() (line 576 of modules\contrib\views_aggregator\src\Plugin\views\style\Table.php).
Notice: Undefined variable: field_label in Drupal\views_aggregator\Plugin\views\style\Table->setAggregatedGroupValues() (line 1100 of modules\contrib\views_aggregator\src\Plugin\views\style\Table.php).

Comments

JordiK created an issue. See original summary.

jordik’s picture

Issue summary: View changes
jordik’s picture

jordik’s picture

Status: Active » Needs review

  • TR committed e002b6d on 8.x-1.x authored by JordiK
    Issue #3090890 by JordiK: Notices when subtotals (no aggregation) is...
tr’s picture

Status: Needs review » Fixed

Committed, with whitespace correction.

Status: Fixed » Closed (fixed)

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