Results 1 to 2 of 2

Thread: Ext.data.proxy.Sql HasMany Sorters

    Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-3959 in a recent build.
  1. #1
    Sencha User
    Join Date
    Nov 2012
    Location
    Melbourne, Australia
    Posts
    12
    Vote Rating
    0
      0  

    Default Ext.data.proxy.Sql HasMany Sorters

    REQUIRED INFORMATION

    Ext version tested:

    • Touch 2.1
    Description:
    • When auto-retreiving data from a hasMany association, it fails because the sorters param is null and there is no check for this in the SQL proxy.
    HELPFUL INFORMATION

    Fix - No further action required than the below patch:

    In data/proxy.SQL.js:
    Replace line 281 from this:
    Code:
    ln = params.sorters.length;
    with this:
    Code:
    ln = params.sorters && params.sorters.length;
    This is in harmony with a similar issue on line 268
    Code:
    ln = params.filters && params.filters.length;

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,422
    Vote Rating
    1271
      0  

    Default

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

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
  •