Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 339551 - Git status not working if workspace servlet was never called
Summary: Git status not working if workspace servlet was never called
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.2   Edit
Assignee: John Arthorne CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-10 11:59 EST by John Arthorne CLA
Modified: 2011-09-01 11:42 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.