Data: isUpdating is broken since 2.4.3

Created on 17 Apr 2016  路  4Comments  路  Source: emberjs/data

Prior to version 2.5.0, we used isUpdating to determine the loading state of an ArrayProxy resulting from findAll. The reason for using isUpdating is that other states, such as isFulfilled, were not triggered during background loads.

To be clear, since version 2.5.0, isUpdating returns false when it used to return true. It used to return true when: (1) the findAll promise was resolving, where reload: true was set, and (2) the records were being (re)loaded in the background for ordinary findAll operations.

Did we miss an API change, or perhaps is there a better way of tracking the loading state of an ArrayProxy resulting from a find operation?

Bug Regression

Most helpful comment

Looks good. Our loading indicators are back! Thank you.

All 4 comments

Looks like this regression has been introduced in #4316 in this line. I am working on a fix.

@kbbpartners this regression should be fixed once #4386 is merged and a new version 2.5.3 is released. Many thanks for reporting this and sorry for the inconvenience.

@kbbpartners FYI, ember-data v2.5.3 has been released...

Looks good. Our loading indicators are back! Thank you.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ef4 picture ef4  路  4Comments

jlami picture jlami  路  3Comments

maschwenk picture maschwenk  路  5Comments

bartocc picture bartocc  路  4Comments

stefanpenner picture stefanpenner  路  4Comments