Problem/Motivation
In Drupal CMS, we are getting schema errors in our tests because, although none of our config sets the weight property on fields which use the leaflet_formatter_default field formatter, it gets added anyway because it's in LeafletSettingsElementSettingsTrait::getDefaultSettings(), but is not defined in config schema.
Proposed resolution
Either remove the property from getDefaultSettings() (if it shouldn't exist), or add it to config schema.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | leaflet_weight_formatter_schema_3498186_3.patch | 450 bytes | itamair |
Comments
Comment #2
itamair commentedThanks @phenaproxima ...
Let me have another look to this ("dear") weight property ...
Comment #3
itamair commented@phenaproxima could you test/QA if the simple attached patch fixes this issue?
Comment #4
phenaproximaCan confirm this worked when I patched Leaflet with it in the context of Drupal CMS.
Comment #6
itamair commentedThanks @phenaproxima
leaflet 10.2.33 release just deployed with this fix