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

ED notifying property change errors

Aberta
#198 7 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
TypeScript
Estrelas
367
Forks
108
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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
```

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.