Missing schema for field configuration

Created on 6 July 2022, over 2 years ago
Updated 19 January 2024, 11 months ago

Problem/Motivation

Configurations using fields to which tinypng_compress can be applied are producing "The site's configuration does not match the associated schema" errors on /admin/reports/status - "Missing schema" is listed as the problem on individual configs.

Steps to reproduce

Install and enable config_inspector β†’ and visit your Status report page (/admin/reports/status) to see error messages.

Proposed resolution

Add schema for the field configuration setting in this module, on web/modules/contrib/tinypng/config/schema/tinypng.schema.yml:

image.style.*.third_party.tinypng:
  type: mapping
  label: 'TinyPNG configuration'
  mapping:
    tinypng_compress:
      type: boolean
      label: 'Compress with TinyPNG'

Remaining tasks

I'll make a patch that adds this schema. Perhaps someone could add an update that will automatically change appropriate config .yml files from 0/1 to false/true?

User interface changes

None.

API changes

None.

Data model changes

None.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States Kasey_MK

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024