- Issue created by @Neelanjana Das
- 🇳🇿New Zealand quietone
Drupal 10 is in maintenance mode and this doesn't meet the criteria for inclusion. Does this occur on Drupal 11.x, or 11.2?
There are quite a few issues for view, have you checked for a duplicate?
In Drupal core changes are made on on 11.x (our main development branch) first, and are then back ported as needed according to the Core change policies → .
- 🇮🇳India Neelanjana Das
Hello quietone,
I’ve tested this bug on a clean install of Drupal 11, and I confirm that the issue still occurs.
Steps followed:
- Enabled Views aggregation
- Added contextual filters
- Result: Aggregation did not work as expected - no change in output.This appears to be related to the existing issue: 🐛 Aggregation not working css and js cache directories not being created Active ( https://www.drupal.org/project/drupal/issues/3381293 🐛 Aggregation not working css and js cache directories not being created Active ), which has been open since D9 and is still unresolved.
However, since the bug is active in Drupal 11, I’m reporting it with fresh confirmation and testing. Please let me know if this issue should be merged or kept separate. I’m happy to help test patches or track this further.
Thanks!
- 🇳🇱Netherlands Lendude Amsterdam
At step "4. Now go back and try to change the aggregation type to "Sum", "Average", or any other." the dialog doesn't close and if I look in the watchdog I see:
TypeError: array_filter(): Argument #1 ($array) must be of type array, null given in array_filter() (line 728 of /var/www/html/web/core/modules/views/src/Plugin/views/field/EntityField.php).
So definitely something broken here it seems like.
Removed the issue that was marked as related since it has nothing to do with this (totally different kind of aggregation)