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

Bug 351182

Summary: [client] Improve handling out-of-sync files
Product: [ECD] Orion Reporter: Szymon Brandys <Szymon.Brandys>
Component: ClientAssignee: Project Inbox <orion.client-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: eclipse.felipe, janikpiotrek, Silenio_Quarti, simon_kaegi, Szymon.Brandys
Version: 0.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 350410    
Bug Blocks:    

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