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

Bug 421763

Summary: [server] simple metadata storage should allow bar character in project names on Windows
Product: [ECD] Orion Reporter: Anthony Hunter <ahunter.eclipse>
Component: ServerAssignee: Anthony Hunter <ahunter.eclipse>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 5.0   
Target Milestone: 5.0 M1   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Anthony Hunter CLA 2013-11-14 12:44:07 EST
As mentioned in Bug 421507, earlier versions of Orion supported project names like "sbrandys | SB1".

The new simple metadata storage does not have a problem with this project name on Linux.

However, the bar character "|" is a reserved character on Windows and migration fails to handle this project name.

We need to handle for backwards compatibility.
Comment 1 Anthony Hunter CLA 2013-11-14 13:58:05 EST
The problem is resolved with commit:
http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=292354537321d402443aca9e98afd3fb2191b8ba

As a workaround on Windows, rather than saving "sbrandys | SB1", the bar is replaced with three dashes.

I also added a JUnit test for project creation with a bar in the name and project rename of a project with a bar in the name.