adopted-ember-addons / adopted-ember-addons/ember-data-model-fragments

ED notifying property change errors

Aperta
#198 7 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
367
Fork
108
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Upon `model.save()` I get the following error:

``` stack
TypeError: Cannot read property 'notify' of undefined
at Object.ChainWatchers.notify (http://crcogct.localhost:3000/dashboard/assets/vendor.js:28475:17)
at chainsDidChange (http://crcogct.localhost:3000/dashboard/assets/vendor.js:34505:9)
at Object.propertyDidChange (http://crcogct.localhost:3000/dashboard/assets/vendor.js:34415:5)
at contentPropertyDidChange (http://crcogct.localhost:3000/dashboard/assets/vendor.js:46339:32)
at Object.apply (http://crcogct.localhost:3000/dashboard/assets/vendor.js:37154:18)
at Object.sendEvent (http://crcogct.localhost:3000/dashboard/assets/vendor.js:30699:28)
at ObserverSet.flush (http://crcogct.localhost:3000/dashboard/assets/vendor.js:34022:25)
at Object.endPropertyChanges (http://crcogct.localhost:3000/dashboard/assets/vendor.js:34533:19)
at _notifyProperties (http://crcogct.localhost:3000/dashboard/assets/vendor.js:127142:25)
at InternalModel.adapterDidCommit (http://crcogct.localhost:3000/dashboard/assets/vendor.js:126466:19)
```

The property it notifies about is a fragment. The save still works.
I'm unsure where the issue is, Ember, Ember Data, or something with Fragments.

``` no-highlight
Ember : 2.5.1
Ember Data : 2.5.2
jQuery : 2.1.4
Ember Simple Auth : 1.0.0
Model Fragments : 2.3.1
```

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.