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

Bug 411411

Summary: Cancelling a "Resource is out of sync with server" dialog breaks Save
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: EditorAssignee: Silenio Quarti <Silenio_Quarti>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: Silenio_Quarti, simon_kaegi
Version: 3.0Flags: simon_kaegi: review+
mamacdon: review+
Target Milestone: 3.0 RC3   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
fix
none
fix none

Description Mark Macdonald CLA 2013-06-21 14:59:28 EDT
1. Go to Settings > Editor and disable Autosave and Autoload.
2. Open the same file in 2 editor tabs: Tab A, Tab B
3. Make some changes in Tab A, then click Save.
4. Switch to Tab B. Make some changes, and click Save.
5. You'll see a prompt: "File is out of sync" Ok/cancel
6. Click Cancel.
7. Now, make some more changes and try to Save. Nothing happens. I don't see any JS errors, it just does nothing.


The editor in Tab B cannot be saved until you reload the page (thus losing the changes, unless you copy/paste them elsewhere).
Comment 1 Silenio Quarti CLA 2013-06-21 15:50:39 EDT
Created attachment 232665 [details]
fix
Comment 2 Silenio Quarti CLA 2013-06-21 15:54:03 EDT
Created attachment 232667 [details]
fix