Tests with a view using entity_browser are failing because the schema isn't defined correctly. I get the following error
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
views.view.media_library with the following errors:
views.view.media_library:display.entity_browser_1.display_options missing
schema in Drupal\Core\Config\Testing\ConfigSchemaChecker->onConfigSave()
(line 93 of
/home/travis/build/isthegeek/drupal-8/drupal/core/lib/Drupal/Core/Config/Testing/ConfigSchemaChecker.php).
Drupal\Core\Config\Testing\ConfigSchemaChecker->onConfigSave(Object,
'config.save', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('config.save',
Object) (Line: 227)
Drupal\Core\Config\Config->save(1) (Line: 280)
Drupal\Core\Config\Entity\ConfigEntityStorage->doSave('media_library',
Object) (Line: 392)
Drupal\Core\Entity\EntityStorageBase->save(Object) (Line: 259)
Drupal\Core\Config\Entity\ConfigEntityStorage->save(Object) (Line: 358)
Drupal\Core\Entity\Entity->save() (Line: 637)
Drupal\Core\Config\Entity\ConfigEntityBase->save() (Line: 321)
Drupal\Core\Config\ConfigInstaller->createConfiguration('',
Array) (Line: 125)
Drupal\Core\Config\ConfigInstaller->installDefaultConfig('module',
'media') (Line: 75)
Drupal\Core\ProxyClass\Config\ConfigInstaller->installDefaultConfig('module',
'media') (Line: 248)
Drupal\Core\Extension\ModuleInstaller->install(Array, 1) (Line: 83)
Drupal\Core\ProxyClass\Extension\ModuleInstaller->install(Array, 1)
(Line: 897)
Drupal\simpletest\WebTestBase->installModulesFromClassProperty(Object)
(Line: 561)
Drupal\simpletest\WebTestBase->setUp() (Line: 37)
Drupal\media\Tests\GalleryBundleTest->setUp() (Line: 1046)
Drupal\simpletest\TestBase->run(Array) (Line: 723)
simpletest_script_run_one_test('1',
'Drupal\media\Tests\GalleryBundleTest') (Line: 59)The test results can be found at https://travis-ci.org/isthegeek/media/jobs/138227118
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | schema-error-2750863-4.patch | 465 bytes | royal121 |
| #3 | interdiff.txt | 657 bytes | slashrsm |
| #3 | 2750863_3.patch | 470 bytes | slashrsm |
| #2 | schema-error-2750863-2.patch | 630 bytes | royal121 |
Comments
Comment #2
royal121 commentedComment #3
slashrsm commentedThis seems the correct solution.
Comment #4
royal121 commentedComment #5
slashrsm commentedCommitted. Thanks!