[ 
https://issues.apache.org/jira/browse/WICKET-5261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13697793#comment-13697793
 ] 

Daniel Zwicker edited comment on WICKET-5261 at 7/2/13 1:55 PM:
----------------------------------------------------------------

Ok. The problem is indeed with transient injection points and @Dependent scoped 
beans which are not proxies and must not be Serializable. So these injection 
points are null after deserialization.
                
      was (Author: shadowdz):
    Ok. The problem is indeed with transient injection points and @Dependand 
scoped beans which are not proxies and must not be Serializable. So these 
injection points are null after deserialization.
                  
> After deserialize of a page CDI injection should take place
> -----------------------------------------------------------
>
>                 Key: WICKET-5261
>                 URL: https://issues.apache.org/jira/browse/WICKET-5261
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-cdi
>    Affects Versions: 6.8.0, 6.9.0
>            Reporter: Daniel Zwicker
>            Assignee: Igor Vaynberg
>
> If a page or behavior or what ever has some fields which are injected by cdi 
> and these object are not Serializable so they are market as transient they 
> will be null after deserialization. This is ok. But now the CDI injection 
> should be kicked in an inject new object.
> BTW the injection should take place every time a new request is processed. If 
> the injection occurs e.g before every rendering this bug should be obsolete. 
> I will fill a bug for this 'request handled injection' too. 

--
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

Reply via email to