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

Igor Vaynberg commented on WICKET-5261:
---------------------------------------

i dont think there is a "good" place in javadoc for something like this. devs 
have to know how serialization works and that if they make the field transient 
it will be null on deserialization. this is hardly cdi-specific.
                
> 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