The content model is not determinist after update to 2.12.0
After the update of 2.12.0, the error:
element complexType: Schemas parser error : complex type 'input-field': The content model is not determinist
xsd: https://github.com/shopware/shopware/blob/trunk/src/Core/System/SystemConfig/Schema/config.xsd#L31
our xml:
<?xml version="1.0" encoding="UTF-8"?>
<config>
<card>
<title>Simple Plugin</title>
<input-field type="bool">
<name>simplePluginEnabled</name>
<label>simplePlugin enabled</label>
<label lang="de-DE">simplePlugin aktivieren</label>
<defaultValue>0</defaultValue>
</input-field>
<input-field>
<name>simplePluginBackgroundcolor</name>
<copyable>true</copyable>
<label>Backgroundcolor</label>
<label lang="de-DE">Hintergrundfarbe</label>
</input-field>
<input-field>
<name>simplePluginFontcolor</name>
<copyable>true</copyable>
<label>Fontcolor</label>
<label lang="de-DE">Textfarbe</label>
<defaultValue>#eee</defaultValue>
</input-field>
<input-field>
<name>simplePluginBordercolor</name>
<copyable>true</copyable>
<label>Bordercolor</label>
<label lang="de-DE">Rahmenfarbe</label>
</input-field>
</card>
</config>
I expected that the unique in the xsd should make it deterministic:
<xs:unique name="uniqueInputFieldName">
<xs:selector xpath="card/input-field/name"/>
<xs:field xpath="."/>
</xs:unique>
Edited by Soner Sayakci