Results 1 to 7 of 7

Thread: Override problems in 2.1

    Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha Premium User zmagyar's Avatar
    Join Date
    Mar 2012
    Location
    Budapest
    Posts
    94

    Default Override problems in 2.1

    Upgrading a project to 2.1 got some issues with overrides.

    1) The override definition used in the previous version doesn't work anymore. If you got an override defined in 2.0 and you upgrade your project to 2.1 then your app won't start and the console reports circular reference errors.

    2) If you recreate your overrides in 2.1 then it will start working in the browser. However it looks like packager can not resolve the dependencies defined on the new way and misses all the override classes during packaging. Therefore the packaged application will not work due to the missing overrides.

  2. #2

    Default

    Same problems here

  3. #3
    Sencha Premium User zmagyar's Avatar
    Join Date
    Mar 2012
    Location
    Budapest
    Posts
    94

    Default

    I have tried to work around the packaging problem on several ways but none of them worked so far. If anyone knows any reasonable workaround it would be well appreciated.

  4. #4

    Default

    It seams to work for me now, I just use the sencha architect 2.1 way:
    1. Delete old override
    2. Create new override

    I did this several times cause it doesn't work immediately but I don't know why it works now...

  5. #5
    Sencha Premium User zmagyar's Avatar
    Join Date
    Mar 2012
    Location
    Budapest
    Posts
    94

    Default

    That approach solves the issue 1) mentioned above. But packaging is still not working as described at 2)

  6. #6
    Sencha User aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,488

    Default

    Quote Originally Posted by zmagyar View Post
    1) The override definition used in the previous version doesn't work anymore. If you got an override defined in 2.0 and you upgrade your project to 2.1 then your app won't start and the console reports circular reference errors.
    This is true because the location of the overrides has moved. We're looking to see what we can do about making this easier on users.

    Quote Originally Posted by zmagyar View Post
    2) If you recreate your overrides in 2.1 then it will start working in the browser. However it looks like packager can not resolve the dependencies defined on the new way and misses all the override classes during packaging. Therefore the packaged application will not work due to the missing overrides.
    Architect is following the preferred new way of doing things in Ext JS 4.1. The build tools are being updated to handle the new format as reported by Don Griffin.
    http://www.sencha.com/forum/showthre...l=1#post871629
    Aaron Conran
    @aconran

  7. #7
    Sencha Premium User zmagyar's Avatar
    Join Date
    Mar 2012
    Location
    Budapest
    Posts
    94

    Default

    Quote Originally Posted by aconran View Post
    Architect is following the preferred new way of doing things in Ext JS 4.1. The build tools are being updated to handle the new format as reported by Don Griffin.
    http://www.sencha.com/forum/showthre...l=1#post871629
    It wasn't really wise to release this version of Architect before the compatible SDK tools. Now all of your serious users (the ones using overrides) are in trouble. I guess the only option for us to downgrade as there is no info about the expectable release date of the compatible SDK tools. It is very sad as 2.1 seems to be a significant step forward.

Posting Permissions

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