Closed (fixed)
Project:
Entity Browser
Version:
8.x-2.x-dev
Component:
Widget plugins
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Nov 2021 at 21:35 UTC
Updated:
25 Dec 2023 at 18:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
jaypanAttaching patch
Comment #3
paweldxm commentedI had to change this replacement from boolean to string for the "multiple" variable. At this point, config_inspector no longer throws any error.
widgets.d1242488-7d4a-4c7a-b224-dbb86faf0b7a.settings.multiple Allow Multiple Files boolean Yes 1 variable type is string but applied schema class is Drupal\Core\TypedData\Plugin\DataType\BooleanDataI've added the corrected patch.
Comment #4
tlo405 commentedI ran into this same problem (my functional tests were failing locally after I added this feature to my custom entity browser). The patch in #3 fixes the issue for me.
Comment #7
dave reidI found a couple more things to fix and opened a MR. Working on validating and reviewing the changes.
Comment #8
dave reidFYI boolean is the correct type here. Once this is committed and you update, if you re-save the entity browser configuration it should fix itself from a string to the correct boolean type for that value.
Comment #10
dave reidTested and confirmed this resolved all config schema errors.