[jbosstools-issues] [JBoss JIRA] (JBIDE-24302) Circular fragment workflow for optional runtime use case

Martin Malina (JIRA) issues at jboss.org
Tue Apr 25 06:10:00 EDT 2017


Martin Malina created JBIDE-24302:
-------------------------------------

             Summary: Circular fragment workflow for optional runtime use case
                 Key: JBIDE-24302
                 URL: https://issues.jboss.org/browse/JBIDE-24302
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: server, upstream
    Affects Versions: 4.5.0.AM1
            Reporter: Martin Malina
            Assignee: Rob Stryker
             Fix For: 4.5.0.AM1


This is a tracking issue for this upstream bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=514888
 
Rob's description:
While playing with the changes dropped for Bug 513486, I found a small bug. 

When a runtime is optional, the wtp framework does not add the runtime fragment directly. It will only add the server fragment, and assume that the server fragment will introduce the runtime fragment in the workflow as it chooses. 

A workflow was discovered where the NewServerWizardFragment is still adding the runtime fragment before the server fragment. Since the server may also be adding that fragment later, it leads to circular behavior because the runtime fragment is in the list of fragments twice. The user will then press next continually but never advance. 

Sorry for this bug. It only happens under specific situations. 

Workflow:
   1) new server wizard, choose server type with optional runtime
   2) Go forward, change settings in server fragment, causing server fragment to designate runtime fragment as a child
   3) go back to main page of server wizard to change host
   4) Change host to 127.0.0.1
   5) Press forward, forward, forward, etc. never ends.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jbosstools-issues mailing list