Skip to content

Collection#set: with array of ids, took only first#47

Open
fvgoto wants to merge 2 commits intojj-studio:masterfrom
fvgoto:fvgoto-patch-1-bug-set_rel_ids
Open

Collection#set: with array of ids, took only first#47
fvgoto wants to merge 2 commits intojj-studio:masterfrom
fvgoto:fvgoto-patch-1-bug-set_rel_ids

Conversation

@fvgoto
Copy link

@fvgoto fvgoto commented Sep 4, 2015

Fixes bug when calling Collection#set with an array of ids, taking only first id.
[Consider merging only d392bb5, (discarding 6a872da) and compiling JS and JS.map of your own.]

bug in Backbone.Collection.prototype.set:
In relational context:
Breaks at first id that will go to IdQueue,
instead of proceeding with remaining ids.

(Correct me if I'm wrong...)
same fix as d392bb5, manually ported from Coffee to JS.
[ATTN: backbone.JJRelational.js.map not updated/out-of-sync]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant