Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mylyn-integrators] Tasks retrieved from queries incorrectly show "Task has incoming changes"

The incoming status is somewhat orthogonal to what data has been retrieved in the sense that the user must have marked the task read for the incoming state to go away. Have a look at RepositorySynchronizationManager.setTaskRead(...) to see how tasks get marked as read. You will see that for a task not to have incoming it a) needs to have a sync state other than INCOMING and b) the repository task's last read time stamp must not be null (repository.Task.setLastReadTimeStamp()).

Hope this helps,

-Rob


Dennis Rietmann wrote:
Hi everyone,

When I open a task retrieved by a query in my connector the task editor shows that the task has incoming changes even though updateTaskFromTaskData(repo, task, taskdata) has been called (SynchronizeTaskJob.updateTask -> TaskFactory.createTask -> connector.updateTaskFromTaskData) with task data which has been freshly retrieved in SynchronizeTaskJob.synchronize() with taskDataHandler.getTaskData (retrieves fresh data from the repository).

Do you have any idea what I could have missed in my implementation? Did I miss any important information? I'm thankful for any advice.


Thanks a lot!

Dennis
------------------------------------------------------------------------

_______________________________________________
mylyn-integrators mailing list
mylyn-integrators@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/mylyn-integrators


--
Robert Elves
Mylyn Committer, http://eclipse.org/mylyn



Back to the top