You found a bug! We've classified it as EXTJS-6712 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha User
    Join Date
    Dec 2011
    Posts
    32
    Vote Rating
    1
    rhapsodyv is on a distinguished road

      0  

    Default TreeStore handle child phantom records wrong

    TreeStore handle child phantom records wrong


    REQUIRED INFORMATION
    Ext version tested:
    • Ext 4.1.1-rc2
    Browser versions tested against:
    • all
    DOCTYPE tested against:
    • all
    Description:
    • TreeStore handle child phantom records wrong.
    Steps to reproduce the problem:
    • Add 2 nodes to the root of the tree
    • now add a child to any previous nodes
    • save the store
    The result that was expected:
    • the server need know the right parentId of the child node
    The result that occurs instead:
    • all tree nodes have the id=0 and the child node have parentId=0
    • The server cannot know what is the real parent of the child node. And if we use a auto gen id, the record is not marked as phantom (because it has an id)
    Test Case:
    HELPFUL INFORMATION
    Screenshot or Video:See this URL for live test case: http://Debugging already done:Possible fix:
    • the NodeInterface use internalId as parentId of the node in case of phantom record
    Additional CSS used:Operating System:
    • os x

  2. #2
    Sencha User
    Join Date
    Dec 2011
    Posts
    32
    Vote Rating
    1
    rhapsodyv is on a distinguished road

      0  

    Default


    news?
    any workaround?

  3. #3
    Sencha - Community Support Team mankz's Avatar
    Join Date
    Nov 2007
    Location
    Stockholm, Sweden
    Posts
    2,713
    Vote Rating
    104
    mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all

      0  

    Default


    +1 for a solid solution to this, anyone doing treestore crud will face this.

  4. #4
    Sencha User
    Join Date
    Dec 2011
    Posts
    32
    Vote Rating
    1
    rhapsodyv is on a distinguished road

      0  

    Default


    Nothing?

Thread Participants: 1