Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 351182 - [client] Improve handling out-of-sync files
Summary: [client] Improve handling out-of-sync files
Status: RESOLVED WONTFIX
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 350410
Blocks:
  Show dependency tree
 
Reported: 2011-07-05 09:07 EDT by Szymon Brandys CLA
Modified: 2015-05-05 16:01 EDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Szymon Brandys CLA 2011-07-05 09:07:47 EDT
We should improve the way how we handle out-of-sync files. So far if we try to save such a file, we get a regular prompt and we can cancel or proceed. I think we could improve it as follows:
- offer an option to see the file content on the server
- add an option to "cancel and refresh"
- replace the prompt with a nicer dojo dialog or a message with options in the progress status.

Moreover in editorCommands.js we check etag from the response body and we should rather check the header params.
Comment 1 Simon Kaegi CLA 2011-07-05 09:37:58 EDT
We need to be careful not to build in too many assumptions on how this operates. We're going to be supporting an increasing number of different file systems so need to expose a general mechanism / capability here. For example, how would this operate if we were the HTML5 File API.
Comment 2 John Arthorne CLA 2015-05-05 15:48:52 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:


https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html
Comment 3 John Arthorne CLA 2015-05-05 16:01:59 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:


https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html