On Mon, 8 Jan 2007 17:22:38 -0400 "Jorge Vargas" <[EMAIL PROTECTED]> wrote:
> > On 1/5/07, Lee Connell <[EMAIL PROTECTED]> wrote: > > I am calling this in one of my controllers and it is giving me this > > error: > > > > id = identity.current.user.user_name > > AttributeError: 'NoneType' object has no attribute 'user_name' > > even though this was usage error, I believe the API should handle > throwing an exception instead of returning null, could you open a > ticket for this. But then comparisons like this won't work: identity.current.user and identity.current.user.user_name. Instead they'd have to be changed to "not identity.current.anonymous and identity.current.user.user_name". Jason
signature.asc
Description: PGP signature

