#3154: Problem with storing authenticated sessions in DB
------------------------------------+---------------------------------------
 Reporter:  [EMAIL PROTECTED]  |       Owner:  jonas
     Type:  defect                  |      Status:  new  
 Priority:  normal                  |   Milestone:       
Component:  general                 |     Version:  devel
 Severity:  major                   |    Keywords:       
------------------------------------+---------------------------------------
 I've been installing a new instance of TRAC (version 0.10dev) and I
 discovered that session settings wasn't stored for an authenticated user.
 So, it seems I've found the source of this problem - it come with
 changeset:3256 in the source:/trunk/trac/web/session.py

 As you can see - at line 153 we're cheking if this session is new and
 should be stored in the database. But due to the last changes we got line
 137 and because of it attribute "_new" is never equal "True" at line 153.

 I'm not sure if I fixed it properly, but my temporary resoltion is to move
 the line 137:
 {{{
 self._new = False
 }}}
 into the '''if''' body to the line 124.

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/3154>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets

Reply via email to