-
Sub-task
-
Resolution: Unresolved
-
Major
-
8.0.0
-
None
-
Sprint 2, 8.0.0 - Sprint 1, 8.0.0 - CR1
2 tests are failing:
- org.jboss.tools.fuse.transformation.camel.EndpointHelperIT.setTargetModel()
- org.jboss.tools.fuse.transformation.camel.EndpointHelperIT.setSourceModel()
A string with encoded '&' character is expected:
transform:xml2json?sourceModel=xml.ABCOrder&targetModel=new.MyOrder&marshalId=transform-json&unmarshalId=xml&dozerConfigPath=dozerBeanMapping.xml
But it returns a not-encoded one:
transform:xml2json?sourceModel=xml.ABCOrder&targetModel=new.MyOrder&marshalId=transform-json&unmarshalId=xml&dozerConfigPath=dozerBeanMapping.xml
The Cmael Endpoitn constructor explicitly unencode the value:
public CamelEndpoint(String uri) { super(null, null); setParameter("uri", XmlEscapeUtility.unescape(uri)); }
Just need to update the test? or CamelEndpoint should not do that? What are the implications?