History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: PSL-229
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Jens Halm
Reporter: Peter Chanthamynavong
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Parsley Core

XmlObjectDefinitionLoader does not dispatch NestedErrorEvent properly

Created: 04/Aug/09 11:28 PM   Updated: 26/Dec/09 11:37 PM
Component/s: XML Support
Affects Version/s: 2.0.0
Fix Version/s: 2.0.1


 Description  « Hide
In the following function handleError(), NestedErrorEvent has the wrong event type which results in an unhandled error event when loading an external XML with an invalid URI.

-- current 2.0 code
dispatchEvent(new NestedErrorEvent(msg, cause));

-- fix
dispatchEvent(new NestedErrorEvent(ErrorEvent.ERROR, cause, msg));


 All   Comments   Change History      Sort Order:
Jens Halm - 09/Aug/09 10:50 PM
Fixed in trunk, thanks for reporting.