Column aggregation row applies to entire result set incompatible with Views pager

Created on 28 March 2023, over 1 year ago

Problem/Motivation

Want to aggregate Field B values based on their respective Field A values and enumerate field B values

Steps to reproduce

Select Table with Aggregation options as a Display format
Set Field A as Group and Compress for Group Aggregation
Set Field B as Enumerate (sort, no dupl.)* as column function
Choose "the entire result set CAUTION: This could cause performance issues with large tables!" for Column aggregation row applies to

Pager
Set pager as "Paged output, full pager" or "Paged output, mini pager"

Preview the table: nothing display

Logs record a warning:
Deprecated function: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in Drupal\Core\Routing\UrlGenerator->doGenerate() (line 201 of /var/www/html/core/lib/Drupal/Core/Routing/UrlGenerator.php)

Then record an error:
Symfony\Component\Routing\Exception\InvalidParameterException: Parameter "view_name" for route "viewsfilters.autocomplete" must match "[^/]++" ("" given) to generate a corresponding URL. in Drupal\Core\Routing\UrlGenerator->doGenerate() (line 203 of /var/www/html/core/lib/Drupal/Core/Routing/UrlGenerator.php).

Proposed resolution

Currently, set pager as "Display all items" as a workaround

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇨🇦Canada cdeces

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

Comments & Activities

Production build 0.71.5 2024