Zatvobor / ember-couchdb-kit

An Ember.js adapter for Apache CouchDB
MIT License
43 stars 13 forks source link

reloadRecord error in example_app_on_ember_data_beta2 branch #72

Closed lessless closed 10 years ago

lessless commented 11 years ago

Almost everytime when I'm creating Intermediate issue application throws an error in console


Uncaught Error: Attempted to handle event `reloadRecord` on <App.Position:ember330:intermediate> while in state root.loaded.updated.inFlight. Called with {resolve: function() { ... }, reject: function() { ... }, promise: [object Object]}. ember-data.js:3449
DS.Model.Ember.Object.extend._unhandledEvent ember-data.js:3449
DS.Model.Ember.Object.extend.send ember-data.js:3399
DS.Model.Ember.Object.extend.reload ember-data.js:3688
(anonymous function) app.js:89
App.IndexRoute.Ember.Route.extend._handlePositionChanges app.js:85
$.ajax.success changes-feed.js:79
fire jquery.js:3075
self.fireWith jquery.js:3187
done jquery.js:8254
callback

You may need to create a few issues to reproduce it. http://i.imgur.com/NHOzCr3.png

OpakAlex commented 11 years ago

Thanks! I check it.

OpakAlex commented 10 years ago

882931d93e455322a303367b4d7a2f2012aded4c This commit fixed this problem, but now I switch off couchdb /_changes

Zatvobor commented 10 years ago

@OpakAlex, changes should be enabled asap

OpakAlex commented 10 years ago

fixed in 491e209b0cd0adda13a718c6f39a971940afae24