Skip Menu |

This queue is for tickets about the App-VOJournal CPAN distribution.

Report information
The Basics
Id: 107065
Status: resolved
Worked: 1 hour (60 min)
Priority: 0/
Queue: App-VOJournal

People
Owner: mamawe [...] cpan.org
Requestors: mamawe [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: v0.4.1
Fixed in: v0.4.2



Subject: Overwrites journal when called without '--resume'
When the program vojournal is called without option '--resume' any existing vimoutliner file is truncated before calling the editor. This is especially annoying when the program is called more than one time a day. Test: $ mkdir -p t/2015/02/30 $ echo Test > t/2015/02/20150230.otl $ perl -Ilib bin/vojournal --basedir=t --date=20150230 --editor=cat --resume Test $ perl -Ilib bin/vojournal --basedir=t --date=20150230 --editor=cat ; 2015-02-30 This happens with version v0.4.1
I've added a test for this error and fixed it for version v0.4.2. Since the test had problems as reported by one CPAN tester multiple times I changed the test slightly (using Probe::Perl) in v0.4.3.