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

Bug 433610

Summary: Should DeferredService define readBlob?
Product: [ECD] Orion Reporter: Adam Peller <apeller>
Component: ClientAssignee: Project Inbox <orion.client-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: Silenio_Quarti
Version: 5.0   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Adam Peller CLA 2014-04-27 23:08:22 EDT
in inputManager.js, there is an attempt to look up the service from the fileClient and call the readBlob method:

progress(fileClient._getService(resource).readBlob(resource), messages.Reading, fileURI).then(function(contents)

https://github.com/eclipse/orion.client/blob/master/bundles/org.eclipse.orion.client.ui/web/orion/inputManager.js#L231

During initialization with a custom content type, I sometimes see _getService return a DeferredService object which does not define readBlob, leading to failure.
Comment 1 John Arthorne CLA 2015-05-05 16:21:32 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