Marco Mariani wrote: >jose wrote: > > >>I have this errore when I try to access to identity.current.user.user_id. >> >> >> >All of a sudden? What if there is no current.user and its value is None? >I am sure you decorated your controller with the proper >@identity.require, didn't you? > > > >>If session is terminated I expect that it ask me the authentication >>again instead of raise this error. >> >> >> >_If_ you need to avoid using the proper decorator, note that the login >page is diplayed in the IdentityFailure exception handler. Here you have >a TypeError instead. > > > > I see there's a ticket about this bug on: http://trac.turbogears.org/ticket/1299 I applied the patch in http://trac.turbogears.org/ticket/1301 but it didn't solved my problem.
jo --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

