1. #1
    Sencha User sailei1's Avatar
    Join Date
    Jul 2011
    Location
    BeiJing China
    Posts
    43
    Vote Rating
    0
    sailei1 is on a distinguished road

      0  

    Default Answered: Cannot call method 'substring' of undefined

    Answered: Cannot call method 'substring' of undefined



  2. Usually means that you don't have all the classes you are using required and the xtype isn't found.

  3. #2
    Sencha User sailei1's Avatar
    Join Date
    Jul 2011
    Location
    BeiJing China
    Posts
    43
    Vote Rating
    0
    sailei1 is on a distinguished road

      0  

  4. #3
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,647
    Vote Rating
    899
    Answers
    3575
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Usually means that you don't have all the classes you are using required and the xtype isn't found.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  5. #4
    Sencha User sailei1's Avatar
    Join Date
    Jul 2011
    Location
    BeiJing China
    Posts
    43
    Vote Rating
    0
    sailei1 is on a distinguished road

      0  

    Default


    thanks

  6. #5
    Sencha Premium Member
    Join Date
    May 2012
    Location
    General Electric, Foxboro, MA
    Posts
    71
    Vote Rating
    5
    Answers
    2
    blaynewatt is on a distinguished road

      0  

    Default


    Mitchell, is there any way to discover what the source of the 'substring' of undefined is? We have dozens of pages with lots of requires, it's really hard to try and determine the source with no feedback at all from the packager... this wasn't a problem with Sencha SDK 2.0, but has cropped up all over the place with 3.0

    regards,
    -Blayne Watt
    Senior Engineer
    General Electric

  7. #6
    Sencha Premium Member
    Join Date
    Apr 2012
    Location
    Lausanne, Switzerland
    Posts
    196
    Vote Rating
    1
    Answers
    1
    mcbl can only hope to improve

      0  

    Default Same problem, no way to automate detection?

    Same problem, no way to automate detection?


    Same problem, no way to automate detection?