[weld-issues] [JBoss JIRA] Commented: (WELD-318) Wrapping InjectionTarget does not work for Beans with a Producer field
Stuart Douglas (JIRA)
jira-events at lists.jboss.org
Thu Jan 14 14:04:31 EST 2010
[ https://jira.jboss.org/jira/browse/WELD-318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12505980#action_12505980 ]
Stuart Douglas commented on WELD-318:
-------------------------------------
What are we actually trying to test for? Your test from r5452 covers the original issue.
The underlying cause was that someone forgot to set a boolean variable in AbstracrBean, I could write a test for that but it seems kind of trivial.
> Wrapping InjectionTarget does not work for Beans with a Producer field
> ----------------------------------------------------------------------
>
> Key: WELD-318
> URL: https://jira.jboss.org/jira/browse/WELD-318
> Project: Weld
> Issue Type: Bug
> Components: Bootstrap and Metamodel API
> Reporter: Stuart Douglas
> Assignee: Stuart Douglas
> Fix For: 1.0.1.CR1
>
>
> I am trying to wrap InjectionTarget to set field values at bean creation time. This works perfectly unless the bean has a producer field.
> When the bean has a producer the InjectionTarget.postConstruct is never called (even though the PostConstruct method on the bean is called).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the weld-issues
mailing list