1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    2
    Vote Rating
    0
    RDmytruk is on a distinguished road

      0  

    Default this.xtypesMap is undefined

    this.xtypesMap is undefined


    I'm in the process of upgrading from 4.0.7 to 4.1.1 and I am stuck on this error.

    I am receiving this error which in turn subtly breaks the grids and keeps their loading masks on even though the data has been loaded.

    TypeError: this.xtypesMap is undefined
    [Break On This Error]


    return this.xtypesMap[xtype];


    ext-all-debug.js (line 46166)


    I am unsure what exactly is causing this error as this was a non-issue before upgrading. The only thing I can think of is there is some sort of race condition.
    Any help would be greatly appreciated.

  2. #2
    Touch Premium Member suzuki1100nz's Avatar
    Join Date
    Apr 2011
    Location
    New Zealand
    Posts
    447
    Vote Rating
    62
    suzuki1100nz is a jewel in the rough suzuki1100nz is a jewel in the rough suzuki1100nz is a jewel in the rough suzuki1100nz is a jewel in the rough

      0  

    Default


    I would suggest you use firebug or chrome debug tool and set a conditional break point at that line of code 46166 condition 'this.xtypesMap == undefined

    Then re run the site.
    The debugger will stop when the condition is met and you will be able to look at the stack trace and inspect objects and variables to get more information regarding state and the methods that are running to cause the issue.

    Post the details once done

  3. #3
    Sencha User
    Join Date
    Apr 2012
    Posts
    2
    Vote Rating
    0
    RDmytruk is on a distinguished road

      0  

    Default


    Thanks, but I seem to have solved it. I have some XTemplates defined within extended abstract components that were the problem. I did not have the alias set on the extended AbstractComponent class and this was causing the error, though I don't know why.

    Simply adding an alias to the class fixed it.

Thread Participants: 1

Tags for this Thread

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