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

Bug 392374

Summary: loadWorkspace API in orion.core.file service should not designate a zero-length 'Parents' array to the root of the filesystem.
Product: [ECD] Orion Reporter: libing wang <libingw>
Component: ClientAssignee: Project Inbox <orion.client-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: grant_gayed, mamacdon
Version: 0.5   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description libing wang CLA 2012-10-18 15:35:38 EDT
Currently the consumption of loadWorkspace API makes the following contact:

The returned file object should have a zero-length 'Parents' array to designate it as the root of the file system.

We should not assume such thing. A more natural criteria should be checking if the Parent is null or not.
Comment 1 John Arthorne CLA 2015-05-05 14:46:41 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:

https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html