You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Daniel Zwicker (JIRA)" <ji...@apache.org> on 2013/07/02 15:23:19 UTC
[jira] [Comment Edited] (WICKET-5261) After deserialize of a page
CDI injection should take place
[ https://issues.apache.org/jira/browse/WICKET-5261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13697766#comment-13697766 ]
Daniel Zwicker edited comment on WICKET-5261 at 7/2/13 1:21 PM:
----------------------------------------------------------------
CDI permit transient fields as defined in 3.8. of the JSR-299. But these must be injected after restoring the object.
was (Author: shadowdz):
CDI permit transient fields or have i missed something. But these must be injected after restoring the object.
> 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