Edgewall Software
Modify

Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#3004 closed defect (worksforme)

settings - get session gives some session for overwriting

Reported by: ThurnerRupert Owned by: Jonas Borgström
Priority: high Milestone:
Component: general Version: 0.9.4
Severity: critical Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

pressing "get session" with an empty field returns some session which you may overwrite afterwards. expected behaviour is to get only a session, if you know a session key.

Attachments (0)

Change History (2)

comment:1 by Matthew Good, 19 years ago

Resolution: worksforme
Status: newclosed

I can't reproduce this. There is no "get session" button, but attempting something similar under the "Load Session" section of the "Settings" page simply keeps my current session. If you can still reproduce this please provide more details on what you're doing.

comment:2 by ThurnerRupert, 18 years ago

i think it is not possible any more, it gives

Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 314, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 199, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.3/site-packages/trac/Settings.py", line 50, in process_request
    self._do_load(req)
  File "/usr/lib/python2.3/site-packages/trac/Settings.py", line 74, in _do_load
    req.session.get_session(oldsid)
  File "/usr/lib/python2.3/site-packages/trac/web/session.py", line 83, in get_session
    self.bake_cookie()
  File "/usr/lib/python2.3/site-packages/trac/web/session.py", line 56, in bake_cookie
    assert self.sid, 'Session ID not set'
AssertionError: Session ID not set

not beautiful, but better than before :)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.