You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a remote query that i'm using as a base query for other queries to scope themselves to for things like further client side filtering and sorting. If I attach the scoped queries after the main query has finished loading, everything works fine. If however, I attach the scoped query before the baseQuery has been loaded, I get "Cannot call method 'forEach' of null" on line 568 of SC.RecordArray - https://github.com/sproutcore/sproutcore-datastore/blob/master/lib/system/record_array.js#L568
I have ways of working around this but it would be simpler if it didn't fail under this scenario.
cheers,
rob
The text was updated successfully, but these errors were encountered:
I have a remote query that i'm using as a base query for other queries to scope themselves to for things like further client side filtering and sorting. If I attach the scoped queries after the main query has finished loading, everything works fine. If however, I attach the scoped query before the baseQuery has been loaded, I get "Cannot call method 'forEach' of null" on line 568 of SC.RecordArray - https://github.com/sproutcore/sproutcore-datastore/blob/master/lib/system/record_array.js#L568
I have ways of working around this but it would be simpler if it didn't fail under this scenario.
cheers,
rob
The text was updated successfully, but these errors were encountered: