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.3, 5.0
{{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. 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]>
----------------------------------------------------------------