Success! Looks like we've fixed this one. According to our records the fix was applied for
EXTJS-26211
in
6.5.2.
-
Sencha Premium Member
(Classic) Store publishes count/totalCount null between load request and response
When (re)loading a store, it will publish a count/totalCount value of `null` before publishing the actual value. The `null` is published when initiating the request.
Link to fiddle: https://fiddle.sencha.com/#view/editor&fiddle/25gi
Reproduction:
- Open fiddle, run it; see total count: 20 (footer bar, right side)
- Click reload and watch the total count
- Total count briefly displays 'null' before switching back to '20' again.
Expected:
- total count not to be set to null during the reload.
I would expect the store's count/totalCount not to be updated until after the load result is processed.
Tested with:
-
Thanks for the report! I have opened a bug in our bug tracker.