[JBoss JIRA] (FORGE-1322) Checks for versioned facet installation are insufficient
by Lincoln Baxter III (JIRA)
[ https://issues.jboss.org/browse/FORGE-1322?page=com.atlassian.jira.plugin... ]
Lincoln Baxter III updated FORGE-1322:
--------------------------------------
Fix Version/s: 2.x Future
> Checks for versioned facet installation are insufficient
> --------------------------------------------------------
>
> Key: FORGE-1322
> URL: https://issues.jboss.org/browse/FORGE-1322
> Project: Forge
> Issue Type: Bug
> Components: Java EE APIs
> Affects Versions: 2.0.0.Beta3
> Reporter: Vineet Reynolds
> Assignee: George Gastaldi
> Fix For: 2.x Future
>
>
> The current checks in the {{isInstalled}} method of most versioned Facets include the following line:
> {noformat}
> return super.isInstalled() && getConfigFile().exists();
> {noformat}
> This is insufficient since the config file could exist but could contain a different version. The facet should not be activated in such a case.
--
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
11 years
[JBoss JIRA] (FORGE-1264) Furnace CDI container requires implementation coupling to provide generic typed service
by Lincoln Baxter III (JIRA)
[ https://issues.jboss.org/browse/FORGE-1264?page=com.atlassian.jira.plugin... ]
Lincoln Baxter III updated FORGE-1264:
--------------------------------------
Fix Version/s: 2.x Future
> Furnace CDI container requires implementation coupling to provide generic typed service
> ---------------------------------------------------------------------------------------
>
> Key: FORGE-1264
> URL: https://issues.jboss.org/browse/FORGE-1264
> Project: Forge
> Issue Type: Feature Request
> Components: Furnace (Container)
> Affects Versions: 2.0.0.Alpha13
> Reporter: Lincoln Baxter III
> Fix For: 2.x Future
>
>
> ExportedInstanceLazyLoader.loadObject()
> {code}
> private Object loadObject() throws Exception
> {
> Object result = null;
> for (Addon addon : registry.getAddons(ALL_STARTED))
> {
> if (ClassLoaders.containsClass(addon.getClassLoader(), serviceType))
> {
> ServiceRegistry serviceRegistry = addon.getServiceRegistry();
> if (serviceRegistry.hasService(serviceType))
> {
> ExportedInstance<?> instance = serviceRegistry.getExportedInstance(serviceType);
> if (instance != null)
> {
> if (instance instanceof ExportedInstanceImpl)
> // FIXME remove the need for this implementation coupling
> result = ((ExportedInstanceImpl<?>) instance).get(new LocalServiceInjectionPoint(
> injectionPoint,
> serviceType));
> else
> result = instance.get();
> if (result != null)
> break;
> }
> }
> }
> }
> if (result == null)
> {
> throw new IllegalStateException("Remote service [" + serviceType.getName() + "] is not registered.");
> }
> return result;
> }
> {code}
--
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
11 years
[JBoss JIRA] (FORGE-1312) UICommand.execute is executed out of sequence when a list of commands or wizards are to be executed
by Lincoln Baxter III (JIRA)
[ https://issues.jboss.org/browse/FORGE-1312?page=com.atlassian.jira.plugin... ]
Lincoln Baxter III updated FORGE-1312:
--------------------------------------
Fix Version/s: 2.x Future
> 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
> Fix For: 2.x Future
>
>
> 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
11 years