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

Bug 454163

Summary: [server] empty organizational folders not archived properly
Product: [ECD] Orion Reporter: Anthony Hunter <ahunter.eclipse>
Component: ServerAssignee: Anthony Hunter <ahunter.eclipse>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 8.0   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Anthony Hunter CLA 2014-12-04 13:01:23 EST
Create an empty folder /serverworkspace/em/emptyuser.

The server will archive (move) the empty user folder to serverworkspace/.archive/em/emptyuser.

The server then also sees the empty organizational folder /serverworkspace/em, which it also tries to archive (move).

This operation fails as serverworkspace/.archive/em already exists.

In this case the empty /serverworkspace/em sticks around, resulting in multiple archive message in the logs.
Comment 1 Anthony Hunter CLA 2014-12-04 13:04:21 EST
Fixed with commit:
http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=b9cc13242245af774e496f886179e721c3b4f1b9

2014-12-04 12:53:57.233 [Worker-0] ERROR org.eclipse.orion.server.config - Meta File Error, root contains invalid metadata: empty folder /workspace/foo/bb deleted.