Hi,

I'm upgradding from ExtJs 4.07 to ExtJs 4.1 and I have the next problem:

On a Ext.view.View I have a listener for "prepareData" that in 4.07 version retrieved the reg on the data parameter, but in 4.1 version data parameter retrieves:

Code:
data{ undefined = "" }
when in ExtJs 4.1 retrieves the corresponding reg. record.data has the same value

Can some helps me? Is it a bug?

Thank you very much.

Here is my view definition
Code:
Ext.create('Ext.view.View', {
    id: 'canvasView',
    cls: 'canvasCls',
    tpl: [
        '<tpl for=".">',
        '<div class="elementwrapper" style="position:absolute;">{objRender}</div>',
        '</tpl>'
    ],
    multiSelect: true,
    trackOver: true,
    overItemCls: 'x-item-over',
    plugins: [
        Ext.create('Ext.ux.DataView.DragSelector', {})
    ],
    prepareData: function(data, index, obj) {
        Ext.apply(data, {
            objRender: getHTMLNodeFromType(data, index, obj) //Here is my problem data hasn't has the correspondient reg but in ExtJs 4.07 yes
        });
        return data;
    },
    itemSelector: 'div.elementwrapper',
    height: '100%',
    store: addItemStore,
    style: {
        overflow:'auto'
    }
});