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

Bug 489767

Summary: .tern-project files without loadEagerly cause default server starts
Product: [ECD] Orion Reporter: Michael Rennie <Michael_Rennie>
Component: JS ToolsAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: curtis.windatt.public, Olivier_Thomann
Version: 12.0   
Target Milestone: 12.0   
Hardware: All   
OS: All   
Whiteboard:

Description Michael Rennie CLA 2016-03-16 12:40:45 EDT
If you have a .tern-project file that does not have a loadEagerly entry in it, the start_server request will be sent with a undefined JSON object.
Comment 2 Olivier Thomann CLA 2016-03-16 14:59:05 EDT
I delivered a complementary change that adds back the refresh function used by the quickfix for file missing in the .tern-project file.
Comment 3 Michael Rennie CLA 2016-03-16 15:28:11 EDT
(In reply to Olivier Thomann from comment #2)
> I delivered a complementary change that adds back the refresh function used
> by the quickfix for file missing in the .tern-project file.

Thanks! The sad part is I ran all refs on it before removing it. I guess I just failed to notice the use :)
Comment 4 Olivier Thomann CLA 2016-03-16 15:47:30 EDT
(In reply to Michael Rennie from comment #3)
> Thanks! The sad part is I ran all refs on it before removing it. I guess I
> just failed to notice the use :)
I didn't find a good way to add a regression test for it.