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

Bug 531152

Summary: Regression from fix for recursive path paste
Product: [ECD] Orion Reporter: Michael Rennie <Michael_Rennie>
Component: NodeAssignee: Silenio Quarti <Silenio_Quarti>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 17.0   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Michael Rennie CLA 2018-02-14 09:32:21 EST
Commit:

https://github.com/eclipse/orion.client/commit/557a906bda3e081f75e25ed7f76c676241fb63ae

Causes test failures in the server tests:

 1) Orion metastore
       testMoveProjectWithBarInProjectName:
     Uncaught Error: undefined: expected 201 "Created", got 400 "Bad Request"
      at Object.throwIfError (test/support/testHelper.js:155:12)
      at Test.<anonymous> (test/metastore/test-simple.js:304:20)
      at Test.assert (node_modules/supertest/lib/test.js:179:6)
      at Server.assert (node_modules/supertest/lib/test.js:131:12)
      at emitCloseNT (net.js:1552:8)
      at _combinedTickCallback (internal/process/next_tick.js:77:11)
      at process._tickCallback (internal/process/next_tick.js:104:9)

This is one of a few failures, and in this particular case the test creates a project named 'testMoveProjectWith|InProjectName' and then attempts to move the project to 'testMoveProjectWith|InProjectNameMOVED'

See test 'testMoveProjectWithBarInProjectName' in /metastore/test-simple.js