*** This bug is a duplicate of bug 579189 ***
    https://bugs.launchpad.net/bugs/579189

This is a duplicate of bug #579189.

** This bug has been marked a duplicate of bug 579189
   tags.xml is sometimes deleted

-- 
GTG files should never get empty
https://bugs.launchpad.net/bugs/611117
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!: New

Bug description:
(Cleaning some old notes of mine)

This was while using GTG 2.4.0 from the daily ppa.

When GTG crashes, XML files may be left empty.

This should never happen.  GTG should not open an existing file for writing, 
ever.  The proper way to proceed is to open another file with a temporary name 
in the same directory, and only once properly written and closed, the original 
file may be deleted and the temporary file renamed appropriately.

With a bit of sophistication, GTG should check for a temporary name whenever a 
required file is missing, and do the rename on the fly.  This accounts for a 
crash happening between the delete and the rename, above.



_______________________________________________
Mailing list: https://launchpad.net/~gtg
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~gtg
More help   : https://help.launchpad.net/ListHelp

Reply via email to