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

Removing Pattern via Property View Leaves Empty Attribute

XMLWordPrintable

    • Hide
      1. Create an integration project with an XML DSL
      2. Add a component to the Route Canvas
      3. Open the properties view and select the component
      4. Select the details tab
      5. Add an exchange pattern
      6. Review the XML; pattern should be populated correctly
      7. Go back to the design tab in the editor
      8. Select the same component
      9. Select the Properties View
      10. Select the Design Tab
      11. Select the empty value in the Exchange Pattern drop down
      12. Save
      13. Review the XML
      14. Attribute will remain with a space in the value

      Show
      Create an integration project with an XML DSL Add a component to the Route Canvas Open the properties view and select the component Select the details tab Add an exchange pattern Review the XML; pattern should be populated correctly Go back to the design tab in the editor Select the same component Select the Properties View Select the Design Tab Select the empty value in the Exchange Pattern drop down Save Review the XML Attribute will remain with a space in the value
    • Workaround Exists
      • open source editor
      • remove the pattern attribute

      When using the Property View / Details Tab, if a user adds a "Pattern" to a component a pattern attribute is created in the XML and the value is added to the attribute. If the value is removed via the same view and tab, the pattern attribute is left in the element with an empty string creating an error in the resulting XML.

              apupier@redhat.com Aurélien Pupier
              sully6768 Scott England-Sullivan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: