- Issue created by @sunlix
- π©πͺGermany jurgenhaas Gottmadingen
Moving this to the bpmn_io project as this is an issue with upcasting config values that we receive from the canvas, which only always provides strings, but config values may be declared as arrays. So far, the upcasting in this scenario tries a JSON decode, but if that fails it needs to try exploding lines into an array.
- Merge request !127[#3545469] bug: Upcasting config to array may fail β (Merged) created by jurgenhaas
- π©πͺGermany sunlix Wesel
Hey JΓΌrgen,
thank you very much for investigating.
I applied the patch and now, the config form of the action is rendered correctly.After setting up the action and hit save, another issue raised. Maybe it is a follow up?
TypeError: Drupal\eca_ui\Plugin\ModelerApiModelOwner\Eca::prepareFormFieldForValidation(): Argument #1 ($value) must be of type ?string, array given, called in /var/www/html/web/modules/contrib/modeler_api/src/Component.php on line 273 in Drupal\eca_ui\Plugin\ModelerApiModelOwner\Eca->prepareFormFieldForValidation() (line 323 of /var/www/html/web/modules/contrib/eca/modules/ui/src/Plugin/ModelerApiModelOwner/Eca.php).