[ https://issues.apache.org/jira/browse/WICKET-5261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13697880#comment-13697880 ]
Daniel Zwicker commented on WICKET-5261: ---------------------------------------- i have just implement a workaround replacing the Serializer used by wicket with one delegating to the original one and call CdiContainer.getNonContextualManager().inject(); for all children of the page and Behavior recursively. Works. I'm just asking my self about the implications for replication and performance. Are Pages replicated across the cluster? > 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