When i run simpletest. I had a issue about bootstrap settings.

Drupal\Core\Config\Schema\SchemaIncompleteException: Schema errors for bootstrap.settings with the following errors: bootstrap.settings:schemas missing schema

CommentFileSizeAuthor
#7 bootstrap-2860072-7.patch1.63 KBbadjava

Comments

michaelngodh created an issue. See original summary.

alex_optim’s picture

Assigned: Unassigned » alex_optim
alex_optim’s picture

Please, could you add more details? Because I checked and don't found errors.

alex_optim’s picture

Assigned: alex_optim » Unassigned
markhalliwell’s picture

Status: Active » Closed (works as designed)

It's using the theme_settings config type: http://cgit.drupalcode.org/bootstrap/tree/config/schema/bootstrap.schema...

It's likely an issue with whatever version of core you're using and/or this issue and its related issues:

#2382671: Automatically define schema for themes

ergonlogic’s picture

For those coming to this issue via Google, a workaround is documented in https://drupal.stackexchange.com/questions/227398/activate-bootstrap-the...

Basically, pending resolution of #2382671: Automatically define schema for themes, you can disable schema validation by adding the following to your test classes:

protected function getConfigSchemaExclusions() {
  return array_merge(parent::getConfigSchemaExclusions(), ['bootstrap.settings']);
}
badjava’s picture

Version: 8.x-3.1 » 8.x-3.x-dev
Status: Closed (works as designed) » Needs review
StatusFileSize
new1.63 KB

It looks like the schema needs to be fixed. See attached patch.

badjava’s picture

Status: Needs review » Closed (works as designed)
Related issues: +#2883714: Properly use config schema for theme settings

I didn't see #2883714 and this seems like a better place to continue the schema issue. Setting this back to closed.

markhalliwell’s picture

FTR, the patch in #7 just duplicates the theme_settings config type. That's why we extend from it.