Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-21085

Connection/application wizard: reconnects if you get back and forth to the connection page

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 4.4.0.Alpha1
    • 4.3.0.Beta1
    • openshift
    • None

      What makes this necessary is the internal behaviour of the connection page being used when application- or import-wizard are launched from central or file-menu. It there is a delegating wizard page which invokes either v2 or v3 wizard based on the server type that the user is choosing. Behind the scenes I see the conn wizard connecting several times when launched from central/file-menu. The delegating wizard page needs to connect in the WizardPage#getNextPage(), a method that is also used in PageChangingListener(s) which it's using to determine the page change direction (forward or backward).

      how to reproduce:

      1. EXEC: launch application wizard
      2. ASSERT: connection page shows up
      3. EXEC: select an existing or create a new connection
      4. EXEC: get to the next page
      5. EXEC: get back to the connection page and hit "Next" again

      Result:
      You see the progress bar coming up and getting to the 2nd page again after some delay caused by the the wizard re-connecting.

              adietish@redhat.com André Dietisheim
              adietish@redhat.com André Dietisheim
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: