[BUGFIX] Do not write empty array values in form definitions
Symfony YAML dumps empty arrays as sequence ("{ }"). Due to this, some
JavaScript modules of the form framework fail to interpret/ set the
correct data type for those properties.
If applied, this commit will ensure that the formEditor unsets empty
array keys on load/ save.
The problem only affects the backend module, not the frontend
formDefinition interpreter.
Resolves: #83985
Releases: master, 8.7
Change-Id: I913b8954790510b4ffcc80a47f9dbb7646239ff1
Reviewed-on: https://review.typo3.org/55848
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Björn Jacob <bjoern.jacob@tritum.de>
Tested-by: Björn Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Kay Strobach <typo3@kay-strobach.de>
Tested-by: Kay Strobach <typo3@kay-strobach.de>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>