Uploaded image for project: 'Maps'
  1. Maps
  2. MAPS-49

Error when adding a "Maps" service

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 2.5.0
    • None
    • None
    • 4.4 M2
    • 4.4 M3

      Following error is displayed when adding a "Map" service 

      Chrome : 

      TypeError: Cannot read property 'latitude' of null
      TypeError: Cannot read property 'latitude' of null
      at constructor._initBox (https://demo.ametys.org/nightly-intranet-cms/plugins/maps/resources/js/Ametys/plugins/maps/MapServiceActions.js:252:26)
      at Array.configureCallback (https://demo.ametys.org/nightly-intranet-cms/plugins/maps/resources/js/Ametys/plugins/maps/MapServiceActions.js:93:4)
      at constructor._configureFormCb (https://demo.ametys.org/nightly-intranet-cms/plugins/maps/resources/js/Ametys/plugins/maps/MapServiceActions.js:171:4)
      at constructor.<anonymous> (https://demo.ametys.org/nightly-intranet-cms/plugins/extjs7/resources/ext-all.js:7365:28)
      at constructor.<anonymous> (https://demo.ametys.org/nightly-intranet-cms/plugins/core-ui/resources/js/Ametys/data/ServerComm.js:454:22)
      at Array.forEach (<anonymous>)
      at Object.ExtArray.forEach (https://demo.ametys.org/nightly-intranet-cms/plugins/extjs7/resources/ext-all.js:3346:17)
      at constructor._callProcessed (https://demo.ametys.org/nightly-intranet-cms/plugins/core-ui/resources/js/Ametys/data/ServerComm.js:451:13)
      at constructor.<anonymous> (https://demo.ametys.org/nightly-intranet-cms/plugins/core-ui/resources/js/Ametys/data/ServerComm.js:904:37)
      at Array.forEach (<anonymous>)

      Firefox :

      TypeError: this._specificElementDefinitions.center['default-value'] is null
      _initBox@https://demo.ametys.org/nightly-intranet-cms/plugins/maps/resources/js/Ametys/plugins/maps/MapServiceActions.js:252:21
      configureCallback@https://demo.ametys.org/nightly-intranet-cms/plugins/maps/resources/js/Ametys/plugins/maps/MapServiceActions.js:93:4
      _configureFormCb@https://demo.ametys.org/nightly-intranet-cms/plugins/maps/resources/js/Ametys/plugins/maps/MapServiceActions.js:171:4
      bind/<@https://demo.ametys.org/nightly-intranet-cms/plugins/extjs7/resources/ext-all.js:7365:28
      _callProcessed/<@https://demo.ametys.org/nightly-intranet-cms/plugins/core-ui/resources/js/Ametys/data/ServerComm.js:454:22
      Ext.Array</ExtArray.forEach<@https://demo.ametys.org/nightly-intranet-cms/plugins/extjs7/resources/ext-all.js:3346:17
      _callProcessed@https://demo.ametys.org/nightly-intranet-cms/plugins/core-ui/resources/js/Ametys/data/ServerComm.js:451:13
      _dispatch/<@https://demo.ametys.org/nightly-intranet-cms/plugins/core-ui/resources/js/Ametys/data/ServerComm.js:904:37
      Ext.Array</ExtArray.forEach<@https://demo.ametys.org/nightly-intranet-cms/plugins/extjs7/resources/ext-all.js:3346:17
      _dispatch@https://demo.ametys.org/nightly-intranet-cms/plugins/core-ui/resources/js/Ametys/data/ServerComm.js:899:25
      _onRequestComplete@https://demo.ametys.org/nightly-intranet-cms/plugins/core-ui/resources/js/Ametys/data/ServerComm.js:785:17
      callback@https://demo.ametys.org/nightly-intranet-cms/plugins/extjs7/resources/ext-all.js:9638:30
      onComplete@https://demo.ametys.org/nightly-intranet-cms/plugins/extjs7/resources/ext-all.js:28413:17
      onStateChange@https://demo.ametys.org/nightly-intranet-cms/plugins/extjs7/resources/ext-all.js:28370:13
      bindStateChange/</<@https://demo.ametys.org/nightly-intranet-cms/plugins/extjs7/resources/ext-all.js:28360:17
      elevate@https://demo.ametys.org/nightly-intranet-cms/plugins/extjs7/resources/ext-all.js:2574:54
      bindStateChange/<@https://demo.ametys.org/nightly-intranet-cms/plugin

            laurence Laurence Aumeunier
            mfranchet Magali Franchet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: