[BUGFIX] IRRE actions should render error messages from DataHandler 09/54809/2
authorBenni Mack <benni@typo3.org>
Thu, 16 Nov 2017 11:05:03 +0000 (12:05 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Mon, 27 Nov 2017 22:39:48 +0000 (23:39 +0100)
commitc75083c5359e0a9508ea6555b368bdde07cb27cb
treee195edef814f9ff11120f31353228e6e4630daf9
parent4228c7c5b08d1f2c84717a889f062573d8aa89fc
[BUGFIX] IRRE actions should render error messages from DataHandler

When IRRE actions (localize/synchronize) are triggered that result in a
DataHandler error (e.g. "Localization failed, "languageField" and
"transOrigPointerField" must be defined for the table") because of a missing
configuration, the current implementation does not evaluate DataHandler
results in the JSON response.

The change adds the same functionality as for other DataHandler calls
to evaluate the JSON response.

Resolves: #83011
Releases: master, 8.7
Change-Id: I7a2069b78cd9c3fa031b7ac194ae5b18596b6a3e
Reviewed-on: https://review.typo3.org/54809
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/backend/Classes/Controller/FormInlineAjaxController.php
typo3/sysext/backend/Resources/Public/JavaScript/jsfunc.inline.js