1. #1
    Sencha User
    Join Date
    Mar 2013
    Posts
    1
    Vote Rating
    0
    ssaad is on a distinguished road

      0  

    Default Sencha Cmd 5.0 issue - urgent, please help!

    Sencha Cmd 5.0 issue - urgent, please help!


    I have an issue and it is affecting my soon to be production deployment. Suddenly


    $app_name.app.redirectTo stopped working


    I upgraded to Sencha Cmd 5 and touch 2.3.1 now $app_name.app.app does not evaluate to anything after a production build. It works fine locally. It gives me


    TypeError: 'undefined' is not an object (evaluating '$ap_name.app.redirectTo')


    I changed all my redirectTo's to fireEvents in my controllers but it seems it is complaining about the touch code now. Do you have any idea where the app name gets set in the production build?


    Salma

  2. #2
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    3,928
    Vote Rating
    130
    fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all

      0  

    Default


    I would not recommend using Sencha Cmd 5 with Sencha Touch projects at this time. You should downgrade to Sencha Cmd 4.0.4.84.
    You can force a reinstall of 4.0.4.84 by issuing the following command in the terminal:
    Code:
    sencha upgrade -f version=“4.0.4.84”
    Then run the following command from your application root folder.
    Code:
    sencha app upgrade --noframework
    Are you using Architect?
    Get more personalized support via a support subscription.

    Want to learn Sencha Touch 2? Check out
    Sencha training
    Sencha Touch in Action

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

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

    Need to include a test case use:
    The official Sencha Fiddle

Thread Participants: 1