[
https://issues.apache.org/jira/browse/TRB-41?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Vandahl closed TRB-41.
-----------------------------
Fix is in 2.3.3-release
> User/Group/Role and TorqueObject should be serializable
> -------------------------------------------------------
>
> Key: TRB-41
> URL: https://issues.apache.org/jira/browse/TRB-41
> Project: Turbine
> Issue Type: Bug
> Affects Versions: Core 2.3.2
> Reporter: Will Glass-Husain
> Fix For: Core 2.3.3
>
> Attachments: serialize.patch
>
>
> In Turbine 2.3.2, when I shut down/restart Tomcat I'm automatically logged
> out. When I restart I get an exception on value.unbound() from the session.
> (I'm using the Torque Security service.)
> The problem is that TorqueUser is only partially serialized/deserialized.
> Specfically the superclass TorqueObject is not serializable. The TorqueUser
> is saved upon shutdown of Tomcat but the persistent object is not. Thus when
> Tomcat starts back up the user is not logged in.
> I've attached a patch that sets TorqueObject to be serializable. Also Group,
> Role, and Permission. (This parallels User, which is already serializable,
> and allows the AccessControlObject to be serialized).
> I note that Turbine has been extensively restructured for 2.4. But I'd be
> interested in seeing this patch be applied to the Turbine 2.3 branch. Would
> anyone mind if I applied it?
> (I'm a Jakarta and Velocity committer and long-term Turbine user. I think
> some of my bug fixes back in 2002 made it into Turbine 2.3, but I've been in
> stealth mode on the lists since).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.