Modify ↓
#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 , 19 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:2 by , 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 :)
Note:
See TracTickets
for help on using tickets.
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.