XMLWordPrintable

Details

    • Sprint 2, 8.0.0 - Sprint 1, 8.0.0 - CR1

    Description

      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?

      Attachments

        Activity

          People

            Unassigned Unassigned
            apupier@redhat.com Aurélien Pupier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: