Results 1 to 2 of 2

Thread: manyToMany association overwrites custom associationKey for nested loading

    Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-15519 in 5.0.2.
  1. #1
    Sencha Premium Member
    Join Date
    Nov 2012
    Posts
    19

    Default manyToMany association overwrites custom associationKey for nested loading

    STAND-ALONE TESTCASE
    https://fiddle.sencha.com/#fiddle/c36


    ADDITIONAL INFO


    Ext version tested:
    • Ext JS 5.0.1.1255 Crisp
    Browser versions tested against:
    • Chrome
    DOCTYPE tested against:
    • Strict
    Description:
    • Custom associationKey for manyToMany association is ignored and reader root is taken from role name when reading nested data.
    Steps to reproduce the problem:
    • Open fiddle and comment the Schema override.
    The result that was expected:
    • 2 Group records with ids 1 and 2 should be in the session.
    The result that occurs instead:
    • 1 Group record with generated id, mistakenly taken from reading "data.groups" as the root instead of "data.groups.data"

  2. #2
    Sencha Premium User
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,258

    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
  •