bugyaGTD - Yet Another Getting Things Done. - Bugs: bug #13349, yagtd might truncate todo.txt

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #13349: yagtd might truncate todo.txt

Submitted by:  Soren Hansen <soren>
Submitted on:  Tue 07 Apr 2009 09:57:47 PM UTC  
 
Category: NoneSeverity: 4 - Important
Priority: 7 - HighStatus: Fixed
Privacy: PublicAssigned to: MiKaĆ«l NAVARRO <klnavarro>
Open/Closed: Closed

Tue 07 Apr 2009 09:57:47 PM UTC, original submission:

If you have a file called "todo.<something else>" in your home directory (like say todo.rest), and you accidentally type "yagtd todo<TAB><RETURN>", you end up running "yagtd todo.". yagtd correctly notices that "yagtd." does not exist, so it doesn't load anything. On exit, it writes its current state (which is empty) to "todo.txt", so you end up truncating todo.txt.

If yagtd is invoked with the name of a non-existing file, I could perhaps create said file and also save its state to that file on exit instead?

Soren Hansen <soren>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by klnavarro (Updated the item)
  • -unavailable- added by soren (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 23 Apr 2010 09:32:51 PM UTCklnavarroStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Tue 14 Apr 2009 08:26:59 PM UTCklnavarroPriority5 - Normal=>7 - High
    Wed 08 Apr 2009 08:33:11 PM UTCklnavarroAssigned toNone=>klnavarro
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup