Ticket #4103 (closed defect: fixed)

Opened 7 weeks ago

Last modified 5 hours ago

session.is_loggable() and GPG

Reported by: js Owned by: bct
Priority: normal Milestone: 0.12
Component: None Version: svn
Severity: normal Keywords:
Cc: OS: All

Description

When you open the window, there's no session yet - and thus session.set_loggable() isn't set. You can also see that the button shows wrong whether the session will be logged or not.

bct, what's your proposed fix for that? if not session: create_a_session()? This is definitely a problem as even with logging disabled, it could be logged until there's a session.

Attachments

Change History

Changed 7 weeks ago by js

s/set_loggable/get_loggable/ s/isn't set/isn't working/

Changed 7 weeks ago by js

  • priority changed from normal to high

Changed 5 weeks ago by bct

  • owner changed from bct to anonymous
  • priority changed from high to normal
  • status changed from new to assigned

A session is created as soon as a message is sent or received, so things will be logged/not logged correctly.

The UI is an issue, though. I'd rather not create a session as soon as the window is opened (it could lead to lots of unused sessions lying around). We don't have to use session.is_loggable for GPG, but it is convenient.

Changed 5 weeks ago by bct

  • owner changed from anonymous to bct
  • status changed from assigned to new

Changed 5 weeks ago by bct

  • status changed from new to assigned

Changed 5 hours ago by bct

  • status changed from assigned to closed
  • resolution set to fixed

(In [10354]) move most of is_loggable out of the session object. fixes #4103

Add/Change #4103 (session.is_loggable() and GPG)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.