Results 1 to 3 of 3

Thread: Uncaught Error: [ERROR][Ext.XTemplate#apply] Cannot read property 'name' of undefined

  1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    73

    Default Uncaught Error: [ERROR][Ext.XTemplate#apply] Cannot read property 'name' of undefined

    I don't know what this error means it just occur i already revert my svn to get a working code where this error didn't occured but it occur now how can i solve it or what is the reason of that error

  2. #2
    Sencha User
    Join Date
    Mar 2012
    Posts
    73

    Default

    i solved my problem. The problem was that my array added too much objects at one time

  3. #3

    Default Found the exact solution after deep debugging

    In the templates, you'll have elements of the form {<id>}. it seems that these Ids are actually executed somehow in JS. Thus, having ids of the form <my.var.name> (notice the dots) will lead to the system trying to look for the name property of the var variable.

    -> [Error][Ext.XTemplate#apply] Cannot read property name of undefined ... -> indeed, there is no var variable with a property name .

    Having correct simple identifiers (at most 1 dot) solves all problems
    Last edited by REMIBLOCH; 20 Sep 2013 at 12:37 AM. Reason: modified variable names

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •