GTG

does not save projects.xml when exited abnormally after first launch

Bug #385518 reported by Michael Vogt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GTG
Fix Released
Low
Unassigned

Bug Description

I noticed that the projects.xml file was not saved when I shutdown my machine. I think this happens only if you are a first time user and the file does not yet contain the backend filename.

The result was that when I opened gtg next time, my previous entries where not available. With a bit of digging I found them. A way to fix it might be to call the config.save_datastore(ds) earlier:

=== modified file 'GTG/gtg.py'
--- GTG/gtg.py 2009-03-01 14:09:12 +0000
+++ GTG/gtg.py 2009-06-10 09:56:40 +0000
@@ -62,7 +62,8 @@

     for backend_dic in backends_list :
         ds.register_backend(backend_dic)
-
+ config.save_datastore(ds)
+
     # Launch task browser
     req = ds.get_requester()
     tb = TaskBrowser(req, config.conf_dict)

Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote :

Thanks,

This is commited in rev. 250

Changed in gtg:
assignee: nobody → Lionel Dricot (ploum)
importance: Undecided → Low
milestone: none → 0.2
status: New → Fix Committed
Changed in gtg:
milestone: 0.2 → 0.1.2
Changed in gtg:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.