Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-6755 in a recent build.
  1. #1
    Sencha User chesstrix's Avatar
    Join Date
    Apr 2008
    Posts
    117
    Vote Rating
    1
    chesstrix is on a distinguished road

      0  

    Default TreeStore CRUD read request appends incorrect value

    TreeStore CRUD read request appends incorrect value


    REQUIRED INFORMATION


    Ext version tested:
    • Ext 4.1 rev 1 GA

    Browser versions tested against:
    • IE9
    • FF3 (firebug 1.3.0.10 installed)

    DOCTYPE tested against:
    • <!DOCTYPE html>

    Description:
    • If a TreeStore has the nodeParam config item set, when it makes a read request it sends the param defined in nodeParam AND another called "id". These values are always identical.

    Steps to reproduce the problem:
    • Create a TreePanel with a CRUD autoload store
    • Render the panel

    The result that was expected:
    The following params sent
    • pNode

    The result that occurs instead:
    The following params sent
    • id
    • pNode

    Test Case:

    Code:
    Ext.define('Songle.store.Playlists', {
        extend : 'Ext.data.TreeStore',
        fields : [
            "text",
            {name: 'id', type: 'int'},
            {name: 'song_id', type: 'int'},
            {name: 'group_id', type: 'int'},
            "leaf",
            "cls",
            {name: 'parentId', type: 'int'},
            {name: 'index', type: 'int'}
        ],
    
        autoSync : true,
        remoteSort : true,
        folderSort : false,
        nodeParam : 'pNode',
        clearOnLoad: true,
        clearRemovedOnLoad: true,
        proxy : {
            type : 'ajax',
            api : {
                create : '../create_playlist',
                read : '../read_playlist',
                update : '../update_playlist',
                destroy : '../destroy_playlist'
            },
            reader : {
                type : 'json',
                root : 'results'
            },
            cacheString : 'pDC',
            writer : {
                type : 'json',
                writeAllFields : true,
                encode: true,
                root :"pJson"
            }
        },
        listeners: {
    
        },
        root : {
            text : 'Playlists',
            id : 0,
            expanded : true
        }
    });
    What is sent
    Code:
    http://localhost/read_playlist?pDC=1341873270383&pNode=0&id=0
    What should be sent
    Code:
    http://localhost/read_playlist?pDC=1341873270383&pNode=0

    Debugging already done:
    • Remove the nodeParam config item and only this is sent
    Code:
    http://localhost/read_playlist?pDC=1341873270383&node=0

    Useful Information:
    • TreePanel has treeviewdragdrop view config and Ext.grid.plugin.CellEditing plugin configured
    • The "id" param was not sent in 4.1.1RC1


    Operating System:
    • Win 7

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,927
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Thank you for the report. This has been fixed for the next release.

    Scott.

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi