#1211: identity.soprovider.SqlObjectIdentity writes to read-only attribute
---------------------------+------------------------------------------------
Reporter:  Felix.Schwarz  |        Owner:  anonymous
Type: defect | Status: closed Priority: normal | Milestone: 1.0 Component: SQLObject | Version: 1.0b2 Severity: normal | Resolution: fixed Keywords: | ---------------------------+------------------------------------------------
Changes (by alberto):

 * status:  new => closed
 * resolution:  => fixed

Comment:

Fixed in [2243]. Comments on the fix:

* anon.annonymous doesn't need to be set to True as it will be True
already because user is None. I don't think that property should be made
read-write because of possible side-effects (maybe the visit key won't get
deleted?)

* I'm reraising any exception in that block because the user might remain
logged in. This *might* break something, I'm not sure because I'm not
familiar with the identity code. If it does at least the traceback will
tell us ;)

Thanks for the tests, much appreciated :)

Alberto

--
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