AnsweredAssumed Answered

AGOL update has broken custom apps built with WAB 1.1

Question asked by georgeoulton on Jul 14, 2015
Latest reply on Jul 23, 2015 by Xiaodong_Wang-esristaff

Apps built using WAB 1.1 (Dev Edition) that consume web maps containing labelled features completely break during the labellayer function of the api.

 

I removed labels from the features in the map and everything is back to smooth sailing. Has anyone else seen this? The error is below.

 

TypeError: Unable to draw graphic (null): Cannot read property 'dateFormat' of null
    at G._convertOptions (https://js.arcgis.com/3.13/esri/layers/LabelLayer.js:58:402)
    at G.refresh (https://js.arcgis.com/3.13/esri/layers/LabelLayer.js:49:346)
    at g.hitch (https://js.arcgis.com/3.13/init.js:177:296)
    at null.<anonymous> (https://js.arcgis.com/3.13/init.js:177:241)
    at p._onArr2Obj (https://js.arcgis.com/3.13/init.js:1191:365)
    at g.(anonymous function).h [as onUpdateEnd] (https://js.arcgis.com/3.13/init.js:244:117)
    at p._fireUpdateEnd (https://js.arcgis.com/3.13/init.js:1806:166)
    at p._endCheck (https://js.arcgis.com/3.13/init.js:428:213)
    at p._drawFeatures (https://js.arcgis.com/3.13/init.js:427:261)
    at https://js.arcgis.com/3.13/init.js:426:114 "TypeError: Unable to draw graphic (null): Cannot read property 'dateFormat' of null
    at G._convertOptions (https://js.arcgis.com/3.13/esri/layers/LabelLayer.js:58:402)
    at G.refresh (https://js.arcgis.com/3.13/esri/layers/LabelLayer.js:49:346)
    at g.hitch (https://js.arcgis.com/3.13/init.js:177:296)
    at null.<anonymous> (https://js.arcgis.com/3.13/init.js:177:241)
    at p._onArr2Obj (https://js.arcgis.com/3.13/init.js:1191:365)
    at g.(anonymous function).h [as onUpdateEnd] (https://js.arcgis.com/3.13/init.js:244:117)
    at p._fireUpdateEnd (https://js.arcgis.com/3.13/init.js:1806:166)
    at p._endCheck (https://js.arcgis.com/3.13/init.js:428:213)
    at p._drawFeatures (https://js.arcgis.com/3.13/init.js:427:261)
    at https://js.arcgis.com/3.13/init.js:426:114"

Outcomes