Hello list,
I'm having a slight problem with TorqueUser 
session replication in my turbine 2.3.1 app.

When the session is replicated the underlying 
persistent object in TorqueUser is lost.

The tempStorage, permStorage and lastAccessDate
fields are all valid but the persistent object is
null, upon first access it is initialized to its 
default value which is an empty object.

This causes my app to fail because it is being told the user is
logged in when hasLoggedIn() returns true but the returned user object is
empty.

I have been able to workaround by checking for 
user.hasLoggedIn() == true && user.getName() == null 
and then reload the TorqueUser into the runData object 
just as if the user was logging into the app
but I'd prefer to find a real solution than have to work around this.


The Persistent object and all of its fields are not transient so
the data should be replicated just like everything else?

Does anyone have any idea why this is happening?



Cheers,
Declan Shanaghy


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to