[TYPO3-core] RFC #????:

Martin Kutschker masi-no at spam-typo3.org
Thu Jul 9 22:29:08 CEST 2009


Hi!

This is a patch request.

Branch: trunk

Problem: When an AJAX call fails the error is reported with XML but
without setting a different HTTP status. This makes it hard for the
calling client code to detect the error condition.

Solution: Send the HTTP status 500 when an error occured.

Masi

PS: Without this change ExtJS would wait forever when TYPO3 sent an XML
error message instead of a valid JSON response.


More information about the TYPO3-team-core mailing list