#1211: identity.soprovider.SqlObjectIdentity writes to read-only attribute
---------------------------+------------------------------------------------
Reporter:  Felix.Schwarz  |       Owner:  anonymous
Type: defect | Status: new Priority: normal | Milestone: Component: SQLObject | Version: 1.0b2 Severity: normal | Keywords: ---------------------------+------------------------------------------------
The patch attached uncovers an error in SqlObjectIdentity. This error
occurs on logout and prevents that the current identity is set to
anonymous. It is masked by a catch-everything-and-ignore-it statement
(line 139,140). The problem lies in line 137 ("anon.anonymous= True"). I
think that the saprovider does not have this problem because the line is
missing there. I will attach a test case patch which makes the error
obvious.

I don't think that his has any implications for TurboGears applications
because the session is invalidated before (line 133,134) but this bug is
annoying for my own unit tests where I test that request.identity is being
set correctly.

--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/1211>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Tickets" 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-tickets?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to