Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha Premium Member
    Join Date
    Feb 2012
    Posts
    7
    Vote Rating
    0
    tabetan is on a distinguished road

      0  

    Default architect 2 - arraystore, data field looses quotes when generating code

    architect 2 - arraystore, data field looses quotes when generating code


    Architect 2
    Extjs 4

    when I set the data field of the arraystore like it follows

    [{'name': 'paris', 'value': 'PARIS'}]

    or

    [{"name": "paris", "value": 'PARIS'}]

    when the class is generated the name attribute doesn't have the quotes.
    Is it a bug or am I doing something wrong?

    Code:
    Ext.define('MyApp.store.MyArrayStore', {
        extend: 'Ext.data.Store',
    
        constructor: function(cfg) {
            var me = this;
            cfg = cfg || {};
            me.callParent([Ext.apply({
                storeId: 'MyArrayStore',
                data: [
                    {
                        name: 'paris',
                        'value': 'PARIS'
                    }
                ],
                fields: [
                    {
                        name: 'name'
                    },
                    {
                        name: 'value'
                    }
                ]
            }, cfg)]);
        }
    });

    thank you

  2. #2
    Touch Premium Member
    Join Date
    Apr 2011
    Posts
    27
    Vote Rating
    0
    jgalvin is on a distinguished road

      0  

    Default Architect generate wrong extend Ext.data.ArrayStore

    Architect generate wrong extend Ext.data.ArrayStore


    Ya, I think this is a bug of Sencha Architect. It generates extend: 'Ext.data.Store' instead of extend: 'Ext.data.ArrayStore'

    Please fix it
    Thanks,

  3. #3
    Sencha User
    Join Date
    Mar 2012
    Posts
    7
    Vote Rating
    0
    venkatkms is on a distinguished road

      0  

    Default Happens with other types of Store also

    Happens with other types of Store also


    This was working just like 3 days ago. Would be great to get this resolved asap.

Thread Participants: 2

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