← Back to team overview

gtg team mailing list archive

[Bug 537776] Re: Once task is opened then closed, it can't be opened again.

 

Nice one, thanks!

** Changed in: gtg
       Status: New => Fix Committed

** Changed in: gtg
   Importance: Undecided => High

** Changed in: gtg
   Importance: High => Critical

** Changed in: gtg
     Assignee: (unassigned) => Jeff Oliver (jeffrey-oliver)

** Changed in: gtg
    Milestone: None => 0.3

-- 
Once task is opened then closed, it can't be opened again.
https://bugs.launchpad.net/bugs/537776
You received this bug notification because you are a member of Gtg
contributors, which is subscribed to Getting Things GNOME!.

Status in Getting Things GNOME!: Fix Committed

Bug description:
I can open a task, then close it, but opening it again gets the following traceback:


Traceback (most recent call last):
  File "/home/oliverj/workspace/gtg/trunk/GTG/taskbrowser/browser.py", line 1172, in on_edit_active_task
    self.vmanager.open_task(tid)
  File "/home/oliverj/workspace/gtg/trunk/GTG/viewmanager/manager.py", line 145, in open_task
    tv.present()
  File "/home/oliverj/workspace/gtg/trunk/GTG/taskeditor/editor.py", line 583, in present
    self.window.present()
AttributeError: 'NoneType' object has no attribute 'present'

It looks like the window is destroyed in the editor code, but the editor remains in the list of opened editors according to the view manager.





References