[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [mylar-dev] Getting "Stale Editor" after adding attachment
|
Lubos,
We haven't implemented in place update of the editor input yet. Once
that is done we won't have to close/reopen upon submit. For now we
should be doing the same thing for attachments that we do upon
submitting edits (close and reopen editor). Please post a bug
report to this effect.
Thanks,
-Rob
On 1/15/07, Lubos and Alena Pochman <pochmans@xxxxxxxxx> wrote:
I am getting "Stale Editor" after adding attachment to the repository task:
"Stale Editor", "Remote copy of task has changes. Refresh and open report?"
I implement
org.eclipse.mylar.tasks.core.IAttachmentHandler#uploadAttachment
in CodeBeamerAttachmentHandler implements IAttachmentHandler and do:
String bugId =
AbstractRepositoryTask.getTaskId(task.getHandleIdentifier());
ICodeBeamerClient client = connector.getClientManager
().getRepository(repository);
client.postAttachment(bugId, comment, description, file,
contentType, isPatch);
How do I force the editor update without getting the "Stale Editor"?
Thanks, Lubos Pochman
_______________________________________________
mylar-dev mailing list
mylar-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/mylar-dev
--
Robert Elves
Mylar committer, http://eclipse.org/mylar