You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by Scott Eade <se...@backstagetech.com.au> on 2003/09/10 15:58:57 UTC

2.3 TorqueSecurityService extended user problem - table map going sour

When I initially log into my 2.3 based application that uses
the new TorqueSecurityService method of extending TurbineUser
(as documented in the howto) I can create users and the
extended attributes are populated correctly in the database.

However, after some as yet to be determined event (executing
a query on my TurbineUser table seems to do the trick), further
users I create do not have their extended attributes set.  I
have only partially debugged this, but it seems that the
TableMap for TURBINE_USER initially includes the extended
attributes, but after the unknown event it no longer includes
them.

This is a big problem.  I will keep looking tomorrow, but
any suggestions would be most welcome.

Scott

-- 
Scott Eade
Backstage Technologies Pty. Ltd.
http://www.backstagetech.com.au





Re: 2.3 TorqueSecurityService extended user problem - table map going sour

Posted by Scott Eade <se...@backstagetech.com.au>.
Scott Eade wrote:

> When I initially log into my 2.3 based application that uses
> the new TorqueSecurityService method of extending TurbineUser
> (as documented in the howto) I can create users and the
> extended attributes are populated correctly in the database.
>
> However, after some as yet to be determined event (executing
> a query on my TurbineUser table seems to do the trick), further
> users I create do not have their extended attributes set.  I
> have only partially debugged this, but it seems that the
> TableMap for TURBINE_USER initially includes the extended
> attributes, but after the unknown event it no longer includes
> them.
>
> This is a big problem.  I will keep looking tomorrow, but
> any suggestions would be most welcome.

Okay, I tracked this down to a criteria I hadn't updated 
- it included a reference to the wrong peer class.

All seems well now.

Sorry for the noise.

Scott
-- 
Scott Eade
Backstage Technologies Pty. Ltd.
http://www.backstagetech.com.au