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.
Whilst working on an issue I notice SchemaCheckTrait::checkConfigSchema() can fail to report errors.
Comment | File | Size | Author |
---|---|---|---|
#7 | 2287193.7.patch | 3.5 KB | alexpott |
#7 | 2287193-test-only.7.patch | 3.02 KB | alexpott |
#1 | 2287193.1.patch | 769 bytes | alexpott |
Comments
Comment #1
alexpottLet's see what fails.
Comment #2
tim.plunkettOh my.
Do we have tests for this?
This one is no longer just a test helper, since it was moved out...
Comment #3
tim.plunkettGuessing this will pass. I really hope so.
Comment #4
xjmThat's pretty classic. Test coverage possible?
Comment #5
xjmComment #6
Gábor HojtsyLooks good :) We could theoretically add a config file with some invalid schema in elements other than the first and see how that acts before/after patch.
Comment #7
alexpottWith a test. The test only patch is also the interdiff :)
Comment #9
Gábor HojtsyYay, looks good, thanks!
Comment #11
catchThis looks fine and is blocking another critical issue.
Committed/pushed to 8.x, thanks!