Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 370414

Summary: Allow submitting all unsubmitted tasks at once
Product: z_Archived Reporter: Oliver Drotbohm <odrotbohm>
Component: MylynAssignee: Project Inbox <mylyn-triaged>
Status: CLOSED MOVED QA Contact:
Severity: enhancement    
Priority: P2 CC: steffen.pingel
Version: unspecifiedKeywords: plan
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Oliver Drotbohm CLA 2012-02-02 05:15:33 EST
Build Identifier: 

I am repeatedly working offline commenting tasks, changing properties of it etc. So a pile of local changes builds up. Unfortunately there's no way to submit all local changes through a single action/keyboard shortcut so that I have to reiterate through all of them and submit them one by one which reduces the value of the offline edit feature quite a bit.

Reproducible: Always
Comment 1 Steffen Pingel CLA 2012-02-02 07:02:18 EST
Thanks for the suggestion. That makes perfect sense to me. It will require some changes to the framework since task submission is coupled to the task editor at the moment but it would be a nice enhancement.

An alternative that we discussed is to add an "Outbox" where you could queue tasks that are to be submitted. Once you are back online these tasks would get automatically submitted to the server. Basically, you would hit Submit while offline and that would queue the task if couldn't be submitted. If you wanted to keep a draft you would save changes instead. What are your thoughts on that?
Comment 2 Oliver Drotbohm CLA 2012-02-02 07:58:13 EST
I am fine with the outbox approach. In general I just want to submit all local changes in on go, whatever means you choose. A keyboard shortcut is preferred.
Comment 3 Mik Kersten CLA 2012-02-02 08:30:06 EST
I think that this is a great suggestion and the lack of this sort of feature feels like a bug to me since we support hitting the "Submit" button when offline but do not bother to do anything about this when the repository is back online.  This is against the expectations set by offline-capable email clients.  My thinking is that, per Steffen's comment, this behavior should be fully automatic, and I suggest changing the title to: "submit pending outgoing tasks submitted when offline once connected to repository".  

In terms of behavior, how about the following:
* Every task that fails to submit for connectivity reasons it gets its sync status set to OUTGOING_PENDING.  Since users are accustomed to our current behavior, we may need to set an info message in the task editor that a resubmit will be attempted when back online.
* Whenever the background sync job completes and gets all incomings, it checks for all pending submit tasks and attempts to submit them.  Maybe it should retrieve the incoming task data so that non-overlapping fields would not cause a conflict.
Comment 4 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