Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 297347

Missing schema on views with aggregation

$
0
0

Problem/Motivation

Config inspector report provides error with a missing schema for fields and filters when aggregation in views is on.

Steps to reproduce

1) Install Drupal 11.
2) Install and enable the config_inspector contributed module.
3) Create a Views listing with nodes (i.e. a "Content" listing) using all defaults.
4) Enable "Use aggregation" in the views display under the Advanced settings in the Other section.
5) There should already exist a "Content:Title" field with aggregation set to "Group results". If it isn't there, add it.
6) Add a "Content: ID" field with aggregation set to "Count". The fields should be as seen in this screenshot:

Fields

7) Save the View.
8) Go to /admin/reports/config-inspector and check the "Only show errors" box.
9) See your view listed in the report, showing 7 errors under the Schema heading.
10) Click on the List link for your view, then scroll down the page until you see the errors as seen in the screenshot below.
11) Applying the MR and running database updates removes the schema errors in the configuration inspector report.

Screen

Proposed resolution

Provide a merge request that fixes this issue.

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 297347

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>