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

Bug 521132

Summary: Requesting /file/ causes server to throw exception
Product: [ECD] Orion Reporter: Michael Rennie <Michael_Rennie>
Component: NodeAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P2    
Version: 15.0   
Target Milestone: 17.0   
Hardware: PC   
OS: Mac OS X   
See Also: https://github.com/eclipse/orion.client/pull/211
Whiteboard:

Description Michael Rennie CLA 2017-08-18 13:40:47 EDT
One on the Java tests that checks for returned 403's on certain accesses causes the node server to throw an exception.

The test simply performs a GET on "/file/":

request()
 .get(CONTEXT_PATH + '/file/')
 .expect(403, done);

Rather than the expected 403, the node server throws an exception
Comment 1 Eclipse Genie CLA 2017-10-05 10:15:03 EDT
GitHub Pull Request 211 created by [mrennie]
https://github.com/eclipse/orion.client/pull/211
Comment 2 Michael Rennie CLA 2017-10-05 10:16:17 EDT
Merged additional tests and suite update - but it appears the root cause of this was fixed in 16.0