Weird NumberFormatException bug crash Rachota
Tasks are not copied to latest day if the program is kept opening through midnight
Pressing enter on previous days will modify the entry for that day instead of copying it to today
Can we also not save the settings every 30 seconds? It shouldn't ever be necessary, the only time settings is changed is when settings dialog is closed and OK button is pressed... (and if something is corrupted this will corrupt the settings file also) commit 476ce5f7d6cc1a85ce17cd679df0adc6995a0144 Avoid saving settings every 30 seconds diff --git a/src/main/java/org/cesilko/rachota/core/Task.java b/src/main/java/org/cesilko/rachota/c> index 5e554fd..ea5d1a3 100644 --- a/src/main/java/org/cesilko/rachota/core/Task.java...
I haven't tested the modified code again (don't want to fill up my hard drive just to test), but it should work.
I think this should be sufficient to fix the issue (although not all are necessary) commit f14645021e3358ff3599e39cfc1bd775a7593127 Use temporary file for writing diff --git a/src/main/java/org/cesilko/rachota/core/Plan.java b/src/main/java/org/cesilko/rachota/core/Plan.java index 9b2f009..b91b274 100644 --- a/src/main/java/org/cesilko/rachota/core/Plan.java +++ b/src/main/java/org/cesilko/rachota/core/Plan.java @@ -355,9 +355,10 @@ public class Plan { String location = (String) Settings.getDefault().getSetting("userDir");...
Full hard drive loses data
Pressing escape on "do you really want to delete work with non-zero working hour" dialog will delete the work regardless