Esri / ember-esri-loader

An Ember addon to allow lazy loading the ArcGIS API for JavaScript in Ember applications
http://ember-esri-loader.surge.sh/
MIT License
11 stars 6 forks source link

Unknown issue following 3.0.0 update #79

Closed dreamfool closed 5 years ago

dreamfool commented 5 years ago

We have a table gets populated with attributes from the points displayed on the map, showing at the lower part of the map. The attributes have about 10 columns that is working fine with the original v2.9.0 but now it only load 2 columns and looks like it is on a loop and keep loading. Data is in AGOL. Got this error when debugging and wonder if this provides a clue?

index.js:163 Uncaught Error: Assertion Failed: You must call `this._super(...arguments);` when overriding `init` on a framework object. Please update <crashmap@service:crashmapdata::ember413> to call `this._super(...arguments);` from `init`.
    at assert (index.js:163)
    at Class._proto.<computed> [as __ASSERT_INIT_WAS_CALLED__ember1564610496677861481332005__] (object.js:131)
    at sendEvent (metal.js:465)
    at initialize (core_object.js:107)
    at Function.create (core_object.js:686)
    at FactoryManager.create (container.js:554)
    at instantiateFactory (container.js:358)
    at _lookup (container.js:290)
    at Container.lookup (container.js:134)
    at Class.lookup (container_proxy.js:78)

npm updated the following dependencies as well:

Package: @ember/jquery

Package: ember-cli

Package: ember-cli-dependency-checker

Package: ember-cli-htmlbars

Package: ember-cli-htmlbars-inline-precompile

Package: ember-cli-inject-live-reload

Package: ember-cli-template-lint

Package: ember-data

Package: ember-esri-loader

Package: ember-lodash

Package: ember-paper

Package: ember-power-select

Package: ember-responsive

Package: ember-source

Package: eslint-plugin-ember

Package: qunit-dom

Package: sass

Package: esri-loader

tomwayson commented 5 years ago

Hm..

Seems like the code in this addon always calls this._super(...arguments);:

https://github.com/Esri/ember-esri-loader/search?l=JavaScript&q=init

npm updated the following dependencies as well

Is there any way you can reset to the last known good commit and only update ember-esri-loader and esri-loader and see if you still have this issue?

dreamfool commented 5 years ago

Thank you, my problem was resolved.