I created a simple view in Drupal 10.1 that just summarizes the orders' total_price over a period of time.
This works, but the schema checker reports errors:
Drupal\Core\Config\Schema\SchemaIncompleteException: Schema errors for views.view.orders_report with the following errors: views.view.orders_report:display.default.display_options.fields.total_price__number.set_precision missing schema, views.view.orders_report:display.default.display_options.fields.total_price__number.precision missing schema, views.view.orders_report:display.default.display_options.fields.total_price__number.decimal missing schema, views.view.orders_report:display.default.display_options.fields.total_price__number.format_plural missing schema, views.view.orders_report:display.default.display_options.fields.total_price__number.format_plural_string missing schema, views.view.orders_report:display.default.display_options.fields.total_price__number.prefix missing schema, views.view.orders_report:display.default.display_options.fields.total_price__number.suffix missing schema
My assumption is that the corresponding part of view's schema doesn't get applied because it is for numeric fields, whereas total_price is a combined field with a numeric part:
views.field.numeric:
type: views_field
label: 'Numeric'
mapping:
set_precision:
type: boolean
label: 'Round'
precision:
type: integer
label: 'Precision'
decimal:
type: string
label: 'Decimal point'
separator:
type: string
label: 'Thousands marker'
format_plural:
type: boolean
label: 'Format plural'
format_plural_string:
type: plural_label
label: 'Plural variants'
prefix:
type: label
label: 'Prefix'
suffix:
type: label
label: 'Suffix'
Comments