approved

On Wed, Feb 24, 2010 at 6:30 PM, AndrĂ© Bargull <[email protected]>wrote:

> Change 20100225-bargull-yMA by barg...@dell--p4--2-53 on 2010-02-25
> 00:16:01
> in /home/Admin/src/svn/openlaszlo/trunk
> for http://svn.openlaszlo.org/openlaszlo/trunk
>
> Summary: clear URLLoader if load fails
>
> Bugs Fixed: LPP-8789 (SWF9/10: Unhandled URLStream error)
>
> Technical Reviewer: henry
>
> Details:
> If an error was thrown when calling URLLoader#load() in loadXMLDoc(), the
> &quot;loader&quot; member wasn&#39;t set to null. This led to a bug because
> the next time open() was called, the abort() function was invoked since
> there was still a &quot;loader&quot;. abort() calls URLLoader#close(), but
> you are only allowed to call this function if there is an open stream.
> Setting the &quot;loader&quot; to null in the catch bug fixes this bug.
> I&#39;ve also added a call to loadError() to inform the user about the
> error.
> Additionally, I&#39;ve removed the copied parts from the URLLoader docs (no
> longer necessary here), a few calls to trace() which were added initially to
> help implementing the data support for swf9.
>
>
> Tests:
> see bugreport
>
> Files:
> M WEB-INF/lps/lfc/kernel/swf9/LzHTTPLoader.as
>
> Changeset:
> http://svn.openlaszlo.org/openlaszlo/patches/20100225-bargull-yMA.tar
>
>


-- 
Henry Minsky
Software Architect
[email protected]
_______________________________________________
Laszlo-reviews mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-reviews

Reply via email to