Updating to Drupal core 10.4.6 views aggregation update causing views using aggregation to break

Created on 7 May 2025, 2 months ago

Problem/Motivation

The update to 10.4.6 introduced a views aggregation change that caused our Calendar events view to completely crash. The error message was seemingly unrelated. It wasn't until I tracked down the core changes in the 10.4.6 release notes to know that views aggregations was changed in the update. After disabling aggregation on our view, the view started to work again.
It seems to have to do with us having a distinct count agg on our body field.

Attaching the view display and error message received in images.

Release notes snippet

I believe it to be this changelog that caused the issue: Issue #2735997 by ramil g, joelpittet, ranjith_kumar_k_u, asad_ahmed, nikita_tt, mschudders, Ben Greenberg, lendude, playful: Decimal separator and decimals settings ignored when aggregating decimal fields - https://git.drupalcode.org/project/drupal/-/commit/59d79456a1a135b3d02bb...

🐛 Bug report
Status

Active

Version

10.4

Component

views.module

Created by

🇺🇸United States redbrickone

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

Comments & Activities

Production build 0.71.5 2024