data icon indicating copy to clipboard operation
data copied to clipboard

rollbackAttributes or unloadRecord while iterating a sync hasMany relationship errors

Open runspired opened this issue 3 years ago • 0 comments

Affects pretty much all versions of ember-data. Basically an operation that results in removal from the array being iterated affects later iterations, causing an out-of-bounds error. For each record unloaded, iteration will both skip the next item in the array and encounter an undefined index at the end of the array.

runspired avatar Feb 18 '22 20:02 runspired