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

Bug 419238

Summary: Cannot copy folders out of HTML5 filesystem
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: ClientAssignee: Project Inbox <orion.client-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Silenio_Quarti
Version: 3.0   
Target Milestone: 5.0 M1   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Mark Macdonald CLA 2013-10-11 11:51:15 EDT
1. Open HTML5 local filesystem
2. Select a directory in it, Copy > Choose Folder > pick a folder on an Orion FS.
3. You'll get an error
> TypeError: Object #<DirectoryEntry> has no method 'file'

This is probably because HTML5 filesystem does not implement the "read metadata" API call for directories. In other words, this blows up:
> html5FileService.read(someDirectory.Location, true)

(See bug 418631 comment 1)
Comment 1 Silenio Quarti CLA 2013-11-13 14:53:03 EST
This is fixed in latest.