Backbone.js Collections do not invoke "Reset" event after fetch operation Backbone.js Collections do not invoke "Reset" event after fetch operation ajax ajax

Backbone.js Collections do not invoke "Reset" event after fetch operation


You should tell Backbone to fire the reset on fetch by passing {reset: true} when fetching as of Backbone 1.0

Replace :

Theater.movies.fetch()

With

Theater.movies.fetch({reset :true})


There might be a problem with your fetch if the collection is not being populated. See this answer to see how to pass an error handler into the fetch operation.


I had a similar issue, I hope my reply will be of any use to others. At first my data.json file was not valid. Then it turned out that I overlooked the following line of code:

Theater.Models.Movie = Backbone.Model.extend({}

Adding this line of code resolved the issue for me.