Results 1 to 2 of 2

Thread: (Classic) Store publishes count/totalCount null between load request and response

    Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-26211 in 6.5.2.
  1. #1
    Sencha Premium Member rkleinkromhof's Avatar
    Join Date
    Apr 2013
    Location
    Enschede, The Netherlands
    Posts
    53

    Default (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:
    • 6.5.0.775
    • 6.5.1.345

  2. #2
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,255

    Default

    Thanks for the report! I have opened a bug in our bug tracker.

Similar Threads

  1. Cannot load store record id in Chrome 45 using xml request & response,
    By Bhogaraju Sneha in forum Sencha Touch 2.x: Q&A
    Replies: 6
    Last Post: 16 Sep 2015, 2:59 AM
  2. Replies: 5
    Last Post: 16 Dec 2013, 9:47 PM
  3. Sencha json Ajax request fails to fetch response and shows "origin null is not alowd
    By khadarmeeran in forum Sencha Touch 1.x: Discussion
    Replies: 2
    Last Post: 13 Dec 2011, 4:45 AM
  4. Replies: 5
    Last Post: 8 Sep 2011, 12:48 AM
  5. [Solved]Problem w. Store count vs totalCount
    By rforbes in forum Ext 1.x: Help & Discussion
    Replies: 4
    Last Post: 10 Dec 2007, 2:03 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •