What steps will reproduce the problem?
1. Configure Shuffle to sync to a Tracks 2.0 host
2. Create a new task in Tracks and synchronize in Shuffle
3. Mark the task as completed in Tracks and synchronize in Shuffle
What is the expected output? What do you see instead?
The new task should be marked as completed in Shuffle. Instead there is no
change in its status. In fact, any change of the task in Tracks does not get
updated to Shuffle
What version of the product are you using? On what operating system?
Shuffle 1.7.2 with patch from bug 268. Android 2.2.
Please provide any additional information below.
The bug is that Tracks does not return the status of a task in todo.xml if it
is not currently active (and that includes the task being complete). Shuffle
requests the task details from Tracks but it only checks if the task is deleted
(in TaskSynchronizer::deleteEntity() ).
This is fixed with the attached patches. The solution below uses
mergeLocalAndRemoteEntityBasedOnModifiedDate which has to be made protected and
may not be the best. It is the minimal change though and works.
Original issue reported on code.google.com by ptsampou...@gmail.com on 27 Sep 2011 at 5:02
Original issue reported on code.google.com by
ptsampou...@gmail.com
on 27 Sep 2011 at 5:02Attachments: