Vineet Reynolds created FORGE-1312:
--------------------------------------
Summary: 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
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