Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Drupal 8 provides a config schema checker during the tests, listens to the config save event and validates schema.
The config schema checker for this module is failing:
Status Group Filename Line Function
--------------------------------------------------------------------------------
Fail Completion PfizerTiTestTest. 25 Drupal\Tests\pfizer_ti_test\Functio
The test did not complete due to a fatal error.
Exception Uncaught e ConfigSchemaCheck 93 Drupal\Core\Config\Testing\ConfigSc
Drupal\Core\Config\Schema\SchemaIncompleteException: Schema errors for
session_limit.settings with the following errors:
session_limit.settings:session_limit_roles missing schema,
session_limit.settings:_core missing schema,
session_limit.settings:langcode missing schema in
Drupal\Core\Config\Testing\ConfigSchemaChecker->onConfigSave()
Proposed resolution
Change the schema.yml of the module to follow the official specification https://www.drupal.org/node/1905070
Comment | File | Size | Author |
---|---|---|---|
#2 | session_limit-fixing-schema-2762279-d8.patch | 593 bytes | jribeiro |
Comments
Comment #2
jribeiro CreditAttribution: jribeiro at CI&T for Pfizer, Inc. commentedComment #3
badjava CreditAttribution: badjava at Metasun for Pfizer, Inc. commentedWe've been running this patch for quite a while and it fixes the schema issue. Please commit this patch.
Comment #5
johnennew CreditAttribution: johnennew at Deeson commentedCommitted to dev branch, will form part of next release.
Comment #6
johnennew CreditAttribution: johnennew at Deeson commentedThis is fixed