Package: task
Version: 2.0.0-1
Severity: normal
Tags: fixed-upstream

Please consider the following shell log:

$ rm -Rf foo bar
$ TASKDATA=foo task log footask
TASKDATA override: foo
Logged task.
$ TASKDATA=bar task log bartask
TASKDATA override: bar
Logged task.
$ TASKDATA=bar task merge foo/

Merging new remote task       b902f63c-2c2e-421e-a971-82d0db645a65  "footask   "
TASKDATA override: bar
Merge complete.
$ TASKDATA=foo task merge bar/

Merging new remote task       093cdb48-7b55-4fbd-9d41-29498991c7b8  "bartask   "
Merging new remote task       b902f63c-2c2e-421e-a971-82d0db645a65  "footask   "
TASKDATA override: foo
Merge complete.
$ TASKDATA=bar task           
TASKDATA override: bar
[task next]
No matches.
$ TASKDATA=foo task merge bar/

TASKDATA override: foo
Database is up-to-date, no merge required.
$ TASKDATA=bar task merge foo/

Merging new remote task       093cdb48-7b55-4fbd-9d41-29498991c7b8  "bartask   "
Merging new remote task       b902f63c-2c2e-421e-a971-82d0db645a65  "footask   "
TASKDATA override: bar
Merge complete.
$ cat foo/completed.data 
[description:"bartask" end:"1360513326" entry:"1360513326" status:"completed" 
uuid:"093cdb48-7b55-4fbd-9d41-29498991c7b8"]
[description:"footask" end:"1360513324" entry:"1360513324" status:"completed" 
uuid:"b902f63c-2c2e-421e-a971-82d0db645a65"]
[description:"footask" end:"1360513324" entry:"1360513324" status:"completed" 
uuid:"b902f63c-2c2e-421e-a971-82d0db645a65"]
$

You can see that footask is present twice with the same uuid (which no
longer is unique) in the completed.data. This breaks synchronization to
mess up your completed.data file. Paul Beckingham kindly verified that
this issue is not reproducible in version 2.2.0.

Helmut


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to