Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-784

Commenting part of Camel route and then switching between design and source view changes comment to description.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 2.1.0
    • None
    • None

    Description

      In Fuse IDE 2.1.0 when in source view a part of camel route is commented using XML comment (<!-- and -->) once switched to Design view and back to source it gets changed to Description tag.

      e.g.

      <!--  Test comment to see what happens ... -->
        <camelContext xmlns="http://camel.apache.org/schema/spring">
          <route>
              <from uri="file:src/data?noop=true"/>
              <to uri="activemq:personnel.records"/>
          </route>
          <route>
              <from uri="activemq:personnel.records"/>
              <!--  <choice>
                  <when>
                      <xpath>/person/city = 'London'</xpath>
                      <to uri="file:target/messages/uk"/>
                  </when>
                  <otherwise>
                      <to uri="file:target/messages/others"/>
                  </otherwise> 
              </choice> -->
          </route>
      </camelContext>
      

      Changes to :

       <!--  Test comment to see what happens ... -->
        <camelContext xmlns="http://camel.apache.org/schema/spring">
          <route>
              <from uri="file:src/data?noop=true"/>
              <to uri="activemq:personnel.records"/>
          </route>
          <route>
              <description>&lt;choice&gt;
                  &lt;when&gt;
                      &lt;xpath&gt;/person/city = 'London'&lt;/xpath&gt;
                      &lt;to uri="file:target/messages/uk"/&gt;
                  &lt;/when&gt;
                  &lt;otherwise&gt;
                      &lt;to uri="file:target/messages/others"/&gt;
                  &lt;/otherwise&gt; 
              &lt;/choice&gt;</description>
          </route>
      </camelContext>
      

      This is highly undesirable as it's not always the description of the part of route.

      Attachments

        Activity

          People

            lvaldez1_jira Luis Valdez (Inactive)
            ubhole Ulhas Bhole (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: