As #2071523: Fix Tests due to path changes is not about the testbot failure we see now and has more patch content then the probably fix I create this issue for the patch #2071523-11: Fix Tests due to path changes
Current status is schema violation according to test result https://www.drupal.org/pift-ci-job/1084436
onConfigSave
exception: [Uncaught exception] Line 95 of core/lib/Drupal/Core/Config/Development/ConfigSchemaChecker.php:
Drupal\Core\Config\Schema\SchemaIncompleteException:
Schema errors for tour.tour.tip-edit with the following errors:
tour.tour.tip-edit:tips.tour-page.attributes variable type is NULL but applied schema class is Drupal\Core\Config\Schema\Sequence in Drupal\Core\Config\Development\ConfigSchemaChecker->onConfigSave() (line 95 of /var/www/html/core/lib/Drupal/Core/Config/Development/ConfigSchemaChecker.php).
Drupal\Core\Config\Development\ConfigSchemaChecker->onConfigSave(Object, 'config.save', Object)
call_user_func(Array, Object, 'config.save', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('config.save', Object) (Line: 231)
Guess we need to unset Attributes
Comments
Comment #2
clemens.tolboomComment #3
clemens.tolboomComment #4
clemens.tolboomThe removed variant (no attributes) is exported with
attributes: { }so I want to test against that tooComment #6
clemens.tolboomI have no clue why
is not resolved so commit patch from #3 hoping it gets resolved.
Comment #8
clemens.tolboomSo now it complains about a string value.
It is of no use to add new patch (as test will fail on main branch) so commit directly on branch 8.x-1.x to see better result.
Comment #9
clemens.tolboomA reconfigured testing to use PHP 7.0 instead. So waiting for a succes or tips from our users.
Comment #11
clemens.tolboomThere where two empty attributes ... sigh.
Comment #12
clemens.tolboomBranch test is now testing code from the tests instead of barking about attributes.
Attached patch does harness attributes and test the ConfigSchemaChecker with
attributes : { }as that's the config export value.Comment #15
clemens.tolboomComment #18
clemens.tolboomTestbot is not happy in general so reopening until tests are running fine.
Comment #21
clemens.tolboomApplied CR https://www.drupal.org/node/2315865
Later please do CR https://www.drupal.org/node/2301125
Comment #24
clemens.tolboomI close this as the test bot is happy. Our tests are not good anymore. But that's another issue.
Comment #25
clemens.tolboom