AnsweredAssumed Answered

3.12 - Receive error on TooltipDialog creation ~50% of the time

Question asked by msereda on Jan 29, 2015
Latest reply on Feb 5, 2015 by msereda

Hi

 

Here's a fairly simple widget:

 

define([
    'dojo/_base/declare',
    'dojo/dom',
    'dojo/dom-style',
    'dijit/_WidgetBase',
    'dijit/popup',
    'dijit/TooltipDialog',
    'esri/lang',
    'esri/layers/FeatureLayer',
    'dojo/_base/array',
    'dojo/on',
    'dojo/promise/all'
], function (declare, dom, Style, _WidgetBase, dijitPopup, TooltipDialog, esriLang, FeatureLayer, array, on, all) {
    var MapTips = declare([_WidgetBase], {
        baseClass: 'gis_myDijit',
        postCreate: function () {
            this.inherited(arguments);
            var dialog = new TooltipDialog();

 

At line 18 as of the JSAPI 3.12compact, I receive the following error in the console:

 

TypeError: d(...) is undefined (init.js:608)

 

This error occurs about 50% of the time, the other 50% it works perfectly fine.  All other things being equal, I have switched back and forth between 3.11 and 3.12 and can confirm that this does not happen with 3.11.

 

Anyone having the same/similar issue, or know what can be done to work around this?


Thanks.

Outcomes