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

Bug 492921

Summary: Passing a configuration to validator overwrites the stored preference values
Product: [ECD] Orion Reporter: Michael Rennie <Michael_Rennie>
Component: JS ToolsAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 12.0   
Target Milestone: 12.0   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Michael Rennie CLA 2016-05-03 14:26:02 EDT
Found after fixing bug 461228. 

We had support in validator to allow the tests to pass in a rule configuration - which works fine for the tests - but as we move from a project with project-specific settings to one that does not, I found the original preference values for the rules was being overwritten and any following project would assume those rule settings as well.
Comment 1 Michael Rennie CLA 2016-05-03 15:04:02 EDT
Fixed in:

http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=90d11ecc08587290277b95c5c4dc2c058a9f5a18

The commit also fixes broken support for auto-assuming the browser env while working in the HTML editor.