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

Bug 339551

Summary: Git status not working if workspace servlet was never called
Product: [ECD] Orion Reporter: John Arthorne <john.arthorne>
Component: ClientAssignee: John Arthorne <john.arthorne>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Szymon.Brandys, tomasz.zarna
Version: 0.2   
Target Milestone: 0.2   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description John Arthorne CLA 2011-03-10 11:59:58 EST
Build: I20110309

1) Create a project that is:
  a) Connected to git
  b) Not in the default location (a linked folder)
2) Go to the git status page for this project
3) Restart the server
3) Hit refresh on the status page.

-> It just spins forever. 

4) Visit the Orion home page
5) Now refresh the status page.

-> Now it works.

The problem is that project location data is initialized in the class WorkspaceResourceHandler. This class doesn't get instantiated until the WorkspaceServlet is first used. We need to separate this initialization from the WorkspaceServlet constructor.
Comment 1 John Arthorne CLA 2011-04-01 16:20:09 EDT
Fix released.