Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mylar-dev] Getting "Stale Editor" after adding attachment

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


Back to the top