AnsweredAssumed Answered

Possible bug in WAB when Basemap and Layer Mgr widgets in same map

Question asked by franklin.alexander on May 18, 2018

I have discovered something unusual when I try to include the 'basemap' widget and the 'layer manager' widget together in the same application. I get the following error if I try to open 'layer manager' directly after opening 'basemap':

 

dojo/parser::parse() error Error: Tried to register widget with id==jimu_dijit_LoadingIndicator_3 but that id is already registered

 

If I open 'layer manager' first, there is no error, and it doesn't matter how many other widgets I have in the application. I can open them in any order and everything is fine. The issue seems to only occur as describe above. I was wandering if anyone else has noticed this. Is this a bug, and if so, is there is a workaround. I duplicated the error with a fresh application using WAB 2.7 developer and the same the occurs. 

Outcomes