Results 1 to 3 of 3

Thread: List with virtual store throws error on mouseover while store is loading/empty

    You found a bug! We've classified it as EXTJS-27588 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,257

    Default List with virtual store throws error on mouseover while store is loading/empty

    Test case:

    https://fiddle.sencha.com/#view/editor&fiddle/2kuf

    To reproduce:
    Hover over the list area. An exception is in the Ext.dataview.Location class when calling attach(). There is no record attached to the item being hovered, so the indexOf call fails.

    Potential fix:

    Code:
    // Change this
    me.recordIndex = store ? store.indexOf(record) : -1;
    
    / To this
    me.recordIndex = store && record ? store.indexOf(record) : -1;
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

  2. #2
    Ext Support Team
    Join Date
    Jan 2018
    Posts
    567

    Default

    Hello Evan,

    Thank you for reporting this, I will go ahead and register this in our bug tracker.

    Regards,
    Kumar
    Sencha Support.

  3. #3
    Sencha Staff
    Join Date
    Sep 2017
    Posts
    126

    Default

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

Similar Threads

  1. Loading data from a store in a List (Empty List)
    By sendy in forum Sencha Touch 2.x: Q&A
    Replies: 2
    Last Post: 30 Dec 2012, 2:34 AM
  2. Replies: 2
    Last Post: 9 Aug 2012, 2:03 AM
  3. [CLOSED] [beta2] Loading list's store the second time -> list is empty
    By binarious in forum Sencha Touch 2.x: Bugs
    Replies: 3
    Last Post: 13 Feb 2012, 4:04 AM
  4. View gives empty list form Store that is not empty
    By oyvindsaltvik in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 12 Jun 2007, 4:17 AM

Posting Permissions

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