Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-1312

UICommand.execute is executed out of sequence when a list of commands or wizards are to be executed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.0.0.CR1
    • 2.0.0.Alpha14
    • UI - Eclipse
    • None

    Description

      Related to FORGE-1131, in the Scaffold setup wizard, I have:

         @Override
         public Result execute(UIContext context) throws Exception
         {
            ScaffoldProvider selectedProvider = provider.getValue();
            selectedProvider.setup(getSelectedProject(context), createSetupContext());
            return Results.success("Scaffold was setup successfully.");
         }
      

      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.

      Attachments

        Activity

          People

            rhn-support-ggastald George Gastaldi
            vineet.reynolds_jira Vineet Reynolds (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: