After I was able to initially run tests via run-test.sh, I encountered a significant amount of errors regarding schemas, e.g.:
Drupal\Core\Config\Schema\SchemaIncompleteException: Schema errors for
ldap_user.settings with the following errors:
ldap_user.settings:ldap_user_conf.ldapEntryProvisionServer missing schema,
ldap_user.settings:ldap_user_conf.drupalAcctProvisionTriggers missing
schema, ldap_user.settings:ldap_user_conf.ldapEntryProvisionTriggers
missing schema,
ldap_user.settings:ldap_user_conf.orphanedDrupalAcctBehavior missing
schema, ldap_user.settings:ldap_user_conf.orphanedCheckQty missing schema,
ldap_user.settings:ldap_user_conf.userConflictResolve missing schema,
ldap_user.settings:ldap_user_conf.manualAccountConflict missing schema,
ldap_user.settings:ldap_user_conf.acctCreation missing schema,
ldap_user.settings:ldap_user_conf.ldapUserSynchMappings missing schema in
Drupal\Core\Config\Testing\ConfigSchemaChecker->onConfigSave() (line 98
of
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | incomplete_schema-2730937-4.patch | 4.2 KB | queenvictoria |
| #2 | incomplete_schema-2730937-2.patch | 4.93 KB | grahl |
Comments
Comment #2
grahlAttached is a patch once those are mostly fixed (at least in the ldap_user test I used as a base).
Please note that especially for ldap_user I just gave string to the missing elements, though most are likely integer or boolean, feel free to update those, if you are certain those are not set to more complex types later on.
Comment #3
grahlComment #4
queenvictoria commentedI've updated ldap_user with integers, sequences and mappings where appropriate. I can't find run-test.sh--could you test the patch or let me know how to do it please?
Comment #12
queenvictoria commentedComment #14
grahlThanks for your help queenvictoria, the test ran with your changes so I committed them.
You can find run-test.sh in core/scripts.