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

Bug 335631

Summary: [client] prompting when leaving a dirty editor no longer works for just a hash change
Product: [ECD] Orion Reporter: Susan McCourt <susan>
Component: ClientAssignee: Susan McCourt <susan>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 0.2   
Target Milestone: 0.2   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Susan McCourt CLA 2011-01-27 17:29:52 EST
When I refactored the services code, I removed a verifyInputChange callback that I thought was no longer necessary.  Turns out it is.  The symptom is that you get the dirty prompt when going to another document (because we have onbeforeunload handling in the page) but not when the hash changes.

I'll make a surgical fix for M5 and a real fix in M6 with bug 334195.
Comment 1 Susan McCourt CLA 2011-01-27 19:16:01 EST
Actually, this has been broken since at least M4.
One challenge here is that if we want to prompt when changing the hash, we have to make sure we don't prompt if the only change is moving around among line numbers (such as using the outliner)
Comment 2 Susan McCourt CLA 2011-01-27 20:01:14 EST
Even though this is not a regression, it is a bad bug (loss of data). 
Released fix and tagged for 2am build.