[
https://issues.apache.org/jira/browse/DELTASPIKE-400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14246957#comment-14246957
]
Jason Porter commented on DELTASPIKE-400:
-----------------------------------------
Which code path are we talking about here? {{readFromType}} should already have
that data. If you're specifying {{InjectionPoints}} via {{injectionPoints}}
then I can see it. We can either add some checks and error out, or we could try
and create new {{InjectionPoints}} but there's no guarantee you'll have a Bean
already ready. Maybe the exception is best if you send {{InjectionPoints}}
without a {{Bean}}?
> BeanBuilder should set the bean of the InjectionPoints
> ------------------------------------------------------
>
> Key: DELTASPIKE-400
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-400
> Project: DeltaSpike
> Issue Type: Bug
> Components: Core
> Affects Versions: 0.4
> Reporter: Mark Struberg
> Assignee: Mark Struberg
>
> BeanBuilder creates Beans which have InjetionPoints without a bean set. Means
> getBean() will return null for them.
> This creates issues in some containers.
> What we can do is to set this info if it's null.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)