| Summary: | [server] migration does not handle case where UserName is empty string | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Anthony Hunter <ahunter.eclipse> |
| Component: | Server | Assignee: | Anthony Hunter <ahunter.eclipse> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 4.0 | ||
| Target Milestone: | 5.0 M1 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Anthony Hunter
In this case, the user should be treated as if the userName is null and should fall back to using the login from the secure storage. We already handled null, just needed to add the test for "". After applying the fix the user migrates completely: Processing UserId EZR (16656 of 19561) UserName frope Created user MetaData file: /workspace/foo/fr/frope/user.json Created Workspace folder: /workspace/foo/fr/frope/OrionContent Moved Project folder: /workspace/foo/EZ/EZR/Dmt to: /workspace/foo/fr/frope/OrionContent/Chief-Framework Created project MetaData file: /workspace/foo/fr/frope/OrionContent/Chief-Framework.json Created workspace MetaData file: /workspace/foo/fr/frope/OrionContent/workspace.json This is fixed with commit: http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=d12bc82d8799b6d73d9eaab7b7f81072e6588950 |