[TYPO3-project-4-3]  error reporting of ajax.php
    Martin Kutschker 
    masi-no at spam-typo3.org
       
    Tue May 19 17:14:40 CEST 2009
    
    
  
Hi!
I have two issues:
Any code that raises an error can only add an error message, but no
further structured detail. So I propose an alternative to <t3error>.
<t3fault>
  <code><code>
  <message>short message<message>
  <summary>longer message for the laymen<message>
  <details>technical deails for the expert (eg stack trace)<details>
</t3fault>
The other issue is that an error is sent with HTTP status 200 instead of
an error code like 500. ExtJS handlers who expect JSON will choke on the
XML data (and the format).
Comments?
Masi
    
    
More information about the TYPO3-project-4-3
mailing list