[forge-issues] [JBoss JIRA] (FORGE-929) Validate when a facet is injecting a Project
George Gastaldi (JIRA)
jira-events at lists.jboss.org
Fri May 31 09:07:55 EDT 2013
George Gastaldi created FORGE-929:
-------------------------------------
Summary: Validate when a facet is injecting a Project
Key: FORGE-929
URL: https://issues.jboss.org/browse/FORGE-929
Project: Forge
Issue Type: Enhancement
Components: Container
Affects Versions: 1.3.0.Final
Reporter: George Gastaldi
Facets can't @Inject Project, otherwise the following exception is thrown, which is not clear in a first moment:
{code:java}
Exception encountered: WELD-001303 No active contexts for scope type org.jboss.forge.shell.project.ProjectScoped (type "set VERBOSE true" to enable stack traces)
{code}
[~lincolnthree] suggested that it might be worth adding a check for this in a validation step of the Forge 1 weld extension
--
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