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

Cancel in Global Editor modify wizard is not honored

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • Backlog
    • 9.2.0, 10.0.0
    • Camel Editor
    • None
    • Hide
      • add a global bean (go through the whole wizard and click Finish)
      • select the created global bean and click on "Edit"
      • click on "Add"
      • provide values for the fields and click "Ok"
      • Click Cancel
        --> if you go to source file, the provided values are stored although cancel was clicked
      Show
      add a global bean (go through the whole wizard and click Finish) select the created global bean and click on "Edit" click on "Add" provide values for the fields and click "Ok" Click Cancel --> if you go to source file, the provided values are stored although cancel was clicked

      Brian comment:
      "That's an interesting bug you've discovered with not being able to cancel the wizard and not effect changes to the model after doing changes in the wizard. It seems to be a flaw in the Global Element framework at the moment because the SAP wizard has the same problem.

      When we pass the XML element to the wizard, we're essentially giving it free reign to edit the in-memory model with no way to return to the initial state. I'm not quite sure how to remedy that at this point."

      Update: Not an issue on SAP, must have been fixed sometime in last 6 months. And PR fixes issue with Bean wizard.

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

                Created:
                Updated: