Config schema errors

Created on 20 July 2021, over 3 years ago
Updated 10 March 2023, almost 2 years ago

Problem/Motivation

The module is not working OOTB since it throws an exception upon the first save on the maintenance form.
Error message:
Drupal\Core\Config\Schema\SchemaIncompleteException: Schema errors for readonlymode.settings with the following errors: readonlymode.settings:forms.additional.edit variable type is string but applied schema class is Drupal\Core\Config\Schema\Sequence, readonlymode.settings:forms.additional.view variable type is string but applied schema class is Drupal\Core\Config\Schema\Sequence in Drupal\Core\Config\Development\ConfigSchemaChecker->onConfigSave() (line 95 of /mnt/files/local_mount/build/web/core/lib/Drupal/Core/Config/Development/ConfigSchemaChecker.php).

Steps to reproduce

Install 8.x-1.1, enable the module, navigate to the site maintenance page, enable read-only mode. Notice the exception/error.

Proposed resolution

Fix the config schema.

Remaining tasks

None.

User interface changes

None.

API changes

None.

Data model changes

?

🐛 Bug report
Status

Fixed

Version

1.1

Component

Code

Created by

🇭🇺Hungary attila.fekete

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