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

Bug 389181

Summary: Use of dojo.DeferredList
Product: [ECD] Orion Reporter: Susan McCourt <susan>
Component: ClientAssignee: Susan McCourt <susan>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 0.5   
Target Milestone: 2.0 M2   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on:    
Bug Blocks: 393810    

Description Susan McCourt CLA 2012-09-10 14:49:58 EDT
while working on removing the tree widget from our directory prompter, I suddenly started getting a bunch of errors involving dojo.DeferredList being undefined.  It seems that we have lots of source files using DeferredList without declaring their dependency on it.  My theory is that removing use of tree from directory prompter removed DeferredList.

The short term fix is to declare dojo/DeferredList in modules where we use it.  But Simon suggests we quit using it all together in favor of Deferred.all
Comment 1 Susan McCourt CLA 2012-09-10 15:11:51 EDT
Indeed it was dijit.Tree that was pulling it in for free.
Comment 2 Susan McCourt CLA 2013-01-07 14:00:13 EST
There are only 4 references left (in git, string externalizer, sites) and these will be fixed when the pages are de-dojoed.  The pattern is clearly documented here:

http://wiki.eclipse.org/index.php?title=Orion/Library_Independence#Deferred_.2F_Promise_support