Closed (fixed)
Project:
Metatag
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Apr 2019 at 21:22 UTC
Updated:
29 Apr 2019 at 13:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
chr.fritschHere is a patch
Comment #3
damienmckennaThanks for working that out, I really appreciate it.
Are there any core requirements in order to use "config_object"?
Comment #4
chr.fritschWithout using "config_object" I got
metatag.settings:_core missing schema, metatag.settings:langcode missing schemaissues.Comment #5
damienmckennaOut of interest, how did you trigger this problem?
Comment #6
chr.fritschI am currently working on this PR for the Thunder distribution (https://github.com/BurdaMagazinOrg/thunder-distribution/pull/684).
And we have the Drupal\Tests\thunder\Functional\InstalledConfigurationTest::testInstalledConfiguration test in Thunder that is quite strict. So it found that problem here: https://travis-ci.org/BurdaMagazinOrg/thunder-distribution/jobs/517837256
Comment #7
idebr commentedAdded a KernelTest to show the current config schema is incomplete.
Comment #8
idebr commented$i = 0 is a leftover debugging statement, feel free to remove :)
Comment #9
damienmckenna@idebr: Oh! Tests! Thanks!
BTW Did you forget something with the patch? The file tests/src/Kernel/MetatagSettingsTest.php doesn't currently exist in the codebase so the patch doesn't apply.
Comment #10
idebr commentedLet's see if this patch does a better job at applying correctly to 8.x-1.x.
Comment #12
idebr commentedRemoved some unused code from the new test.
Comment #15
damienmckennaCommitted. Thanks!