XmlHandler doesn't always fail on unmarshaling errors

Description

The XmlHandler is used to marshal/unmarshal request/responses in the IPC modules used for Minion.

Currently, the XmlHandler relies on the default event handler, which can swallow certain exceptions such as failures in XmlAdapter s which can leave objects in inconsistent states (i.e. a member variable is null because the adapter failed).

This behavior differs from unmarshaling/marshaling directly using JaxbUtils, where we set a custom event handler.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Jesse White May 7, 2017 at 11:46 AM

Fixed in foundation-2017 with e23c61218b928b5802ae444cdefce7b1d37c0a26.

Fixed

Details

Assignee

Reporter

Sprint

Fix versions

Affects versions

Priority

PagerDuty

Created May 5, 2017 at 8:36 AM
Updated February 15, 2018 at 9:32 PM
Resolved May 7, 2017 at 11:46 AM

Flag notifications