-
Notifications
You must be signed in to change notification settings - Fork 653
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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> Reviewed-on: https://review.typo3.org/56744 Reviewed-by: Oliver Hader <oliver.hader@typo3.org> Tested-by: Oliver Hader <oliver.hader@typo3.org>
- Loading branch information
1 parent
9fc37bd
commit ca58248
Showing
3 changed files
with
65 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters