[jboss-jira] [JBoss JIRA] (WFLY-2054) CDI portable extensions with missing dependencies in fields fail to deploy
Tomaz Cerar (JIRA)
jira-events at lists.jboss.org
Thu Sep 12 11:52:03 EDT 2013
[ https://issues.jboss.org/browse/WFLY-2054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tomaz Cerar updated WFLY-2054:
------------------------------
Affects Version/s: 8.0.0.Alpha4
> CDI portable extensions with missing dependencies in fields fail to deploy
> --------------------------------------------------------------------------
>
> Key: WFLY-2054
> URL: https://issues.jboss.org/browse/WFLY-2054
> Project: WildFly
> Issue Type: Bug
> Components: CDI / Weld
> Affects Versions: 8.0.0.Alpha4
> Reporter: Ron Šmeral
> Assignee: Stuart Douglas
> Attachments: cdi-ext-missing-dependency-reproducer.jar
>
>
> The following CDI extension *fails to deploy* if Foo is not on classpath:
> {code}
> public class BrokenExtension implements Extension {
> private Foo foo;
> }
> {code}
> However, if the missing dependency is not a field but a parent class as in the following, the extension is disregarded by the container, but the archive *deploys successfully*:
> {code}
> public class BrokenExtension extends Foo implements Extension {
> }
> {code}
> It would be more consistent if the behaviour from the second case applied in both cases.
--
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 jboss-jira
mailing list