LeafletSettingsElementSettingsTrait::getDefaultSettings() includes a `weight` property that is not the config schema for the leaflet_formatter_default formatter

Created on 8 January 2025, 3 months ago

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.

🐛 Bug report
Status

Active

Version

10.2

Component

Code

Created by

🇺🇸United States phenaproxima Massachusetts

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024