Here’s a crazy thought. Could it be that your path name is too long? I’m confused a bit because you have a windows path there but chmod only applies to *nix..
On Dec 9, 2013, at 1:33 PM, Hallvard Ystad <[email protected]> wrote: > Hi again > > Thanks for the tip, but peeking into those methods reveals only the following: > 1) None of the methods have errors or exceptions (I didn't override them in > the first place) > 2) Even TaskDataModel.save doesn't cause any errors, since there is no "Error > saving task" in the log output (doSave() prints so if model.save() throws a > CoreException). > > As I synchronize with the server, the TaskList populates OK. But db-clicking > a task opens a TaskEditorPage where the remote tracker part is blank and it > is suggested that I resynchronize. I see in my log files that the tasks I > click are retrieved from the server w/o any problem. If I understand > correctly, mylyn will check for a local zip file also in these cases. At > least the stack trace suggests that's what's missing. > > There is a stack trace for this behaviour here: > https://bitbucket.org/pplupo/bitbucket-mylyn-connector/issue/44/ > > I have chmodded to 777 the enitre .metadata/.mylyn folder, but to no avail. > > For the moment I am clueless. Should I look into > TaskDataManager.saveWorkingCopy()? I prefer to believe the error is on my > side, but can't figure out where I send null objects or call methods > erroneously... > > Any suggestion is welcome. Thanks, > HY > > Den 09. des. 2013 19:01, skrev Sam Davis: >> Hi, >> >> Saving is handled by the framework and you shouldn't need to hook into it. >> Maybe your problem is caused by overriding doSubmit or doSave in >> TaskEditorPage, without calling super? Or perhaps an exception is preventing >> the save from happening. Normally, when submitting a task, doSubmit calls >> doSave which calls TaskDataModel.save, which writes the zip file. >> >> HTH, >> Sam >> >> >> -- >> Sam Davis >> Software Engineer, Tasktop Dev >> Committer, Eclipse Mylyn >> http://tasktop.com >> >> >> On Fri, Dec 6, 2013 at 5:47 AM: >> 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 >> _______________________________________________ >> mylyn-integrators mailing list >> [email protected] >> https://dev.eclipse.org/mailman/listinfo/mylyn-integrators >> >> >> >> _______________________________________________ >> mylyn-integrators mailing list >> >> [email protected] >> https://dev.eclipse.org/mailman/listinfo/mylyn-integrators > > _______________________________________________ > mylyn-integrators mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/mylyn-integrators _______________________________________________ mylyn-integrators mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/mylyn-integrators
