Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 329300 - [api] support offline submission of attachments
Summary: [api] support offline submission of attachments
Status: CLOSED MOVED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 152271 376807 (view as bug list)
Depends on:
Blocks: 211072
  Show dependency tree
 
Reported: 2010-11-02 16:47 EDT by Sam Davis CLA
Modified: 2012-07-03 08:00 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Davis CLA 2010-11-02 16:47:31 EDT
When submitting a comment or attachment, if the repository cannot be contacted for whatever reason, the user should be prompted with the option to cache the submission locally. Cached submissions should be automatically submitted once the repository is available. Prior to submission, they should still show up in the task editor, but the fact that they are pending should be indicated somehow. An option to send the submission as an email might also be useful in the case that the repository is down.
Comment 1 Steffen Pingel CLA 2010-11-08 05:42:44 EST
It's out of the scope of the Mylyn project to provide extensive offline support for task attachment but it would be helpful to support that on an API level. The Mylyn Reviews project has also had a related requirement for creating reviews that need to be attached to unsubmitted tasks.
Comment 2 Steffen Pingel CLA 2011-09-27 17:12:26 EDT
*** Bug 152271 has been marked as a duplicate of this bug. ***
Comment 3 Steffen Pingel CLA 2011-11-16 14:50:44 EST
I have updated the summary slightly to limit the feature request to attachments. There is already support for saving a comment offline. Providing support for saving multiple comments would add complexity and it seems it's a very rare case that someone would want to submit multiple comments rather than updating a saved draft.
Comment 4 Steffen Pingel CLA 2012-06-16 07:33:36 EDT
*** Bug 376807 has been marked as a duplicate of this bug. ***
Comment 5 Stephan Herrmann CLA 2012-06-16 08:09:58 EDT
(In reply to comment #4)
> *** Bug 376807 has been marked as a duplicate of this bug. ***

Just to restate the motivation behind bug 376807:

It would be cool if Mylyn better supports workflows, where an attachment
should be accompanied with a detailed comment. Currently this is difficult,
because the dialog for attaching a file is modal - including the step
for entering a comment, i.e., while writing this comment a user has no
access to the workbench.

If attaching a file could be "staged" without actually submitting,
then the comment can be edited in the non-modal comment editor.

I realize that this bug is only for the API level, but if this enhancement
is granted, exposing this in the UI maybe isn't too big a step? :)
Comment 6 Sam Davis CLA 2012-06-18 13:57:08 EDT
The dialog is not modal for me...
Comment 7 Sam Davis CLA 2012-06-18 14:00:01 EDT
Having said that, I do agree that it's a little awkard sometimes. Often I start writing a comment in the task editor, and then realize I want to submit a screenshot with it...
Comment 8 Stephan Herrmann CLA 2012-07-03 08:00:53 EDT
(In reply to comment #6)
> The dialog is not modal for me...

Thanks for mentioning.
But the dialog is "always on top", which made me jump to the conclusion
that it must be modal.
Comment 9 Eclipse Webmaster CLA 2022-11-15 11:45:08 EST
Mylyn has been restructured, and our issue tracking has moved to GitHub [1].

We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub.

[1] https://github.com/orgs/eclipse-mylyn