[Trac-tickets] [The Trac Project] #3154: Problem with storing authenticated sessions in DB

The Trac Project noreply at edgewall.com
Mon May 15 12:54:44 CDT 2006


#3154: Problem with storing authenticated sessions in DB
------------------------------------+---------------------------------------
 Reporter:  kbogdanov at redsolex.com  |       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/>


More information about the Trac-Tickets mailing list