GTG

Activity log for bug #887053

Date Who What changed Old value New value Message
2011-11-07 09:52:30 Izidor Matušov bug added bug
2012-02-13 17:28:26 Izidor Matušov description Let's have following tasks: - a -- b Open editor for task b. Then switch to main window and delete task a or mark it as done. Editor for 'b' is still open although task does not exists anymore (if the parent was removed). Sometimes it raises a traceback: (not able to reproduce it on script/debug.sh) Traceback (most recent call last): File "/usr/share/gtg/GTG/gtk/editor/editor.py", line 436, in delete_task self.vmanager.ask_delete_tasks([self.task.get_id()]) File "/usr/share/gtg/GTG/gtk/manager.py", line 215, in ask_delete_tasks if self.delete_dialog.delete_tasks(tids): File "/usr/share/gtg/GTG/gtk/delete_dialog.py", line 96, in delete_tasks recursive_list_tasks(tasks, task) File "/usr/share/gtg/GTG/gtk/delete_dialog.py", line 93, in recursive_list_tasks for i in root.get_subtasks(): AttributeError: 'NoneType' object has no attribute 'get_subtasks' Let's have following tasks: - a -- b Open editor for task b. Then switch to main window and delete task a or mark it as done. Editor for 'b' is still open although task does not exists anymore (if the parent was removed). Sometimes it raises a traceback: (not able to reproduce it on script/debug.sh) Traceback (most recent call last):   File "/usr/share/gtg/GTG/gtk/editor/editor.py", line 436, in delete_task     self.vmanager.ask_delete_tasks([self.task.get_id()])   File "/usr/share/gtg/GTG/gtk/manager.py", line 215, in ask_delete_tasks     if self.delete_dialog.delete_tasks(tids):   File "/usr/share/gtg/GTG/gtk/delete_dialog.py", line 96, in delete_tasks     recursive_list_tasks(tasks, task)   File "/usr/share/gtg/GTG/gtk/delete_dialog.py", line 93, in recursive_list_tasks     for i in root.get_subtasks(): AttributeError: 'NoneType' object has no attribute 'get_subtasks' Also have a look at the duplicate of this bug - bug #826683
2012-02-13 17:28:34 Izidor Matušov tags editor love
2012-02-14 09:39:10 Lionel Dricot gtg: assignee Lionel Dricot (ploum)
2012-02-14 10:29:29 Lionel Dricot gtg: status Confirmed Fix Committed
2012-11-06 21:03:35 Bertrand Rousseau gtg: status Fix Committed Fix Released