[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[mylyn-integrators] Problems with implementing offline support
|
Hi everyone,
I have a problem with implementing offline editing in my connector. If I
mark the repository as "disconnected" and then open a task from the task
list the background synchronization will be launched and getTaskData
gets called on my TaskDataHandler (via the
RepositorySynchronizationManager->SynchronizeTaskJob.synchronizeTask).
getTaskData will try to get the task from the repository which of course
fails when working offline.
I had a look at the Trac connector's TaskDataHandler and it seems to do
the same, there is no special check whether the repository is in
disconnected mode or not. I think I missed something, because
getTaskData shouldn't be called at all by the framework, but I couldn't
figure out what. Does anyone have a suggestion? I already read the
section in the Integrators wiki, this seems to be fine.
thanks for any help,
Dennis