[BUGFIX] IRRE actions should render error messages from DataHandler 59/54659/2
authorBenni Mack <benni@typo3.org>
Thu, 16 Nov 2017 11:05:03 +0000 (12:05 +0100)
committerTymoteusz Motylewski <t.motylewski@gmail.com>
Mon, 27 Nov 2017 22:12:00 +0000 (23:12 +0100)
commit65f634e9fa76aca772f628845f3af078a9fad1f7
tree37a8679fc3c84170321643d70c13d6be34965b69
parentbb87f5d13e747bd3e837c2047c549231f8987201
[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/54659
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
typo3/sysext/backend/Classes/Controller/FormInlineAjaxController.php
typo3/sysext/backend/Resources/Public/JavaScript/jsfunc.inline.js