Module is missing a config schema for validation

Created on 2 August 2023, over 1 year ago
Updated 26 April 2024, 7 months ago

Problem/Motivation

The module defines field formatter settings, which end up in config as the settings key for entity view display config entities using that formatter.

It does not, however, define any schema for these settings, which prevents validation.

The schema needs to be defined for the two keys used by the formatter: deltas and deltas_reversed: currently the deltas config is weakly defined as a string parsed on the fly by the formatter, but it should actually be an array of unique integers, the better to handle erroneous inputs like 0, , 2, 2

Steps to reproduce

n.a.

Proposed resolution

Remaining tasks

Do it.

User interface changes

None.

API changes

None.

Data model changes

The configuration for deltas will change from a string like '0, 1' to a YAML array of integers.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡«πŸ‡·France fgm Paris, France

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024