[forge-issues] [JBoss JIRA] (FORGE-1312) UICommand.execute is executed out of sequence when a list of commands or wizards are to be executed

George Gastaldi (JIRA) issues at jboss.org
Tue Jan 14 20:05:32 EST 2014


     [ https://issues.jboss.org/browse/FORGE-1312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George Gastaldi closed FORGE-1312.
----------------------------------

         Assignee: George Gastaldi
    Fix Version/s: 2.0.0.Final
                       (was: 2.x Future)
       Resolution: Done


This looks fixed.
                
> UICommand.execute is executed out of sequence when a list of commands or wizards are to be executed
> ---------------------------------------------------------------------------------------------------
>
>                 Key: FORGE-1312
>                 URL: https://issues.jboss.org/browse/FORGE-1312
>             Project: Forge
>          Issue Type: Bug
>          Components: UI - Eclipse
>    Affects Versions: 2.0.0.Alpha14
>            Reporter: Vineet Reynolds
>            Assignee: George Gastaldi
>             Fix For: 2.0.0.Final
>
>
> Related to FORGE-1131, in the Scaffold setup wizard, I have:
> {noformat}
>    @Override
>    public Result execute(UIContext context) throws Exception
>    {
>       ScaffoldProvider selectedProvider = provider.getValue();
>       selectedProvider.setup(getSelectedProject(context), createSetupContext());
>       return Results.success("Scaffold was setup successfully.");
>    }
> {noformat}
> This is expected to be executed only after all other setup wizards and commands have been executed. For example, if the Faces scaffold provider is being setup, then any or all of CDI, EJB, Servlet, Faces and JPA setup wizards must be executed before {{ScaffoldSetupWizard.execute()}} is invoked. This is not the case currently, resulting in {{ScaffoldSetupWizard.execute()}} being invoked first.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the forge-issues mailing list