Uploaded image for project: 'SwitchYard'
  1. SwitchYard
  2. SWITCHYARD-2963

Attribute 'copyNamespaces' is added even if it wasn't checked

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: tools-2.2.0
    • Fix Version/s: tools-2.3.0
    • Component/s: tooling
    • Labels:
    • Environment:

      SwitchYard 2.2.0.CI-v20161014-1625-B49

    • Steps to Reproduce:
      Hide
      1. Create a new SY project with version 1.1.1-p12-redhat-1
      2. Add the SOAP binding - fill the WSDL and check 'Unwrapped Payload'
      3. Save and open Properties dialog (not Properties view)
      4. Uncheck 'Unwrapped Payload' and save
      5. The source now looks as follows
        <soap:messageComposer copyNamespaces="false" unwrapped="false"/>
        

        and there are errors in Error Log.

      Show
      Create a new SY project with version 1.1.1-p12-redhat-1 Add the SOAP binding - fill the WSDL and check 'Unwrapped Payload' Save and open Properties dialog (not Properties view) Uncheck 'Unwrapped Payload' and save The source now looks as follows <soap:messageComposer copyNamespaces= " false " unwrapped= " false " /> and there are errors in Error Log.

      Description

      Attribute 'copyNamespaces' is added even if it wasn't checked. Note that once this attribute is added then the project is not compatible with older SwitchYard versions, e.g. 1.1.1-p12-redhat-1.

      I suggest o remove the property 'copyNamespaces' everytime the checkbox is unchecked.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  bfitzpat Brian Fitzpatrick
                  Reporter:
                  apodhrad Andrej Podhradsky
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: