AnsweredAssumed Answered

Cannot load widget

Question asked by Stahly on Aug 14, 2017
Latest reply on Aug 14, 2017 by rscheitlin

I created an instance of the WAB server on my machine to debug a widget from a previous question I had.

On that instance I can add a previously developed widget "GetParcelRecords", and load an app with good results.

However if I change the manifest, by renaming the widget and the internal files accordingly, adding the widget throws the following error:

FeatureActionManager.js?wab_dv=2.5:174 Uncaught TypeError: Cannot read property 'en-us' of undefined
    at Object.<anonymous> (FeatureActionManager.js?wab_dv=2.5:174)
    at Object.forEach (init.js:70)
    at Object.registerWidgetFeatureActions (FeatureActionManager.js?wab_dv=2.5:162)
    at Object.<anonymous> (FeatureActionManager.js?wab_dv=2.5:207)
    at init.js:63
    at visitBigSection (utils.js?wab_dv=2.5:120)
    at Object.visitElement (utils.js?wab_dv=2.5:84)
    at Object.c.visitElement (ConfigManager.js?wab_dv=2.5:188)
    at Object._reRegisterWidgetActions (FeatureActionManager.js?wab_dv=2.5:204)
    at Object._onAppConfigChanged (FeatureActionManager.js?wab_dv=2.5:252)

I have attempted to add the Demo widget and doing so results the same error.

I suspect that there is some fault with the server or its dependencies. Is there a way to check for that?

Outcomes