Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mylyn-integrators] Where/when is a task saved locally?

Hi list

Trying to construct a custom TaskEditorPage, I get a CoreException because my tasks aren't stored locally in the «offline» folder. When I create a task and save it, the zip-file is in the local-local folder, but when I submit the task to my tracker, there is no zip file in the .mylyn/tasks/tracker/offline/ folder. In the data folder, there is one folder for each issue, but no zip files.

I believe this must be due to a faulty connector. The TaskDataModel class has a save method - but where do I hook into it? The integrator reference page on eclipse.org mentions four things to do to add offline support to a connector, but as far as I can tell, all four of them are implemented in my connector, and none of them deals with saving locally.

Observing code in the Bugzilla and Trac connectors didn't prove useful. Or (probably) I missed something. So since this connector doesn't save tasks locally (although the folders are created), where should I look? Where should it have happened?

Thanks,
HY


Back to the top