This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 392374 - loadWorkspace API in orion.core.file service should not designate a zero-length 'Parents' array to the root of the filesystem.
Summary: loadWorkspace API in orion.core.file service should not designate a zero-len...
Status: RESOLVED WONTFIX
Alias: None
Product: Orion (Archived)
Classification: ECD
Component: Client (show other bugs)
Version: 0.5   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-18 15:35 EDT by libing wang CLA
Modified: 2015-05-05 14:46 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 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