[
http://jira.magnolia-cms.com/browse/MAGNOLIA-3523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Philipp Bärfuss updated MAGNOLIA-3523:
--------------------------------------
Fix Version/s: 4.4.4
(was: 4.4.3)
(was: 5.0)
> WebContextImpl is not Serializable
> ----------------------------------
>
> Key: MAGNOLIA-3523
> URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3523
> Project: Magnolia
> Issue Type: Bug
> Components: core
> Reporter: Grégory Joseph
> Assignee: Philipp Bärfuss
> Fix For: 4.4.4
>
>
> {{info.magnolia.context.WebContextImplTest#testSerializable}} verifies that
> {{WebContextImpl}} is serializable. While this is all good and well, it turns
> out that {{WebContextImpl}} is NOT serializable if it's been init()'d.
> Add the following line:
> {{context.init(null, null, null);}}
> And bang, the test fails: {noformat}junit.framework.AssertionFailedError:
> WebContextImpl should be serializable, failed with:
> java.io.NotSerializableException:
> info.magnolia.context.RequestAttributeStrategy
> {noformat}
> Since all WebContext instances are meant to be initialized before usage, we
> can conclude {{WebContextImpl}} is NOT serializable.
> Question is: does it *need* to be ?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------