[Laszlo-dev] For Review: Change 20071022-bargull-2 Summary: Update LzLoader errorhandling for LzHTTPDataProvider

André Bargull a.bargull at intensis.de
Sun Oct 21 16:59:18 PDT 2007


Change 20071022-bargull-2 by bargull at dell--p4--2-53 on 2007-10-22 01:13:18
in /home/Admin/src/svn/openlaszlo/trunk/WEB-INF/lps/lfc
for http://svn.openlaszlo.org/openlaszlo/trunk/WEB-INF/lps/lfc

Summary: Update LzLoader errorhandling for LzHTTPDataProvider

New Features:

Bugs Fixed:
LPP-4946 - "dataset getErrorString return null"

Technical Reviewer: hminsky
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:
Updated error-handling in LzLoader to conform to the new 
LzHTTPDataProvider class.
In proxied applications, LPS sends a special error-xml response to 
forward any errors (<resultset><error status="..." msg="..." 
/></resultset>).
And LzHTTPDataProvider#loadResponse(..) determines on the basis of this 
xml-response any errors. Unfortunately LzLoader#onerror did not send the 
whole xml-response, but only the value of the "msg"-attribute.
So, I've updated LzLoader#onerror to send the xml-response if its owner 
is a LzHTTPLoader, in any other case it is sending an appropriate 
error-message just like before.


Tests:

Files:
M kernel/swf/LzLoader.lzs

Changeset: 
http://svn.openlaszlo.org/openlaszlo/patches/20071022-bargull-2.tar


More information about the Laszlo-dev mailing list