Bug:  onLayersAddResult doesn't fire if MapService is offline

Discussion created by BillHoney on Apr 25, 2013
Latest reply on May 15, 2013 by tligon

I am adding multiple layers with addLayers(...)
And checking to see when they have been added with onLayersAddResult(results)

However,  if any one of the map services is offline,  the event never fires, even if all the other layers are OK

Can anyone confirm if this is a Bug ?

In addition,  if you monitor onLayerAddResult(result)   (in the singular) 
it never fires either for the offline service.

The documentation implies that it should fire with an error object.
Can anyone comment ?

I am relying on onLayersAddResult(results) to initialize other stuff on my map