Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha User
    Join Date
    Feb 2012
    Location
    Mercer Island, WA
    Posts
    66
    Vote Rating
    0
    DonRul is on a distinguished road

      0  

    Default app.js designer.js and Application out of sync

    app.js designer.js and Application out of sync


    I don't think that I can reproduce this but it is a nasty problem when you run into it. My best guess is that I did not save the project before I walked away from my machine last night and windows update forced a reboot.

    Today I added two models and stores but when I did Ext.data.StoreManager.lookup(NewStore) the store was not found. Looking in the Application (code view in the Architect) the stores and models were defined but when I looked in the debugger they were not in the array of stores in Ext.data.StoreManger and I could not find them in the files to debug in Chrome.

    After lots of investigation, I found that they were defined in the app.js file but they were not defined in the designer.js file and some old files were defined there that had been renamed (this sounds backwards but I am pretty sure that it is true).

    Again I don't think that I could give you a solid reproducible case but if there is a way to check for consistency between these it would have saved me the better part of an afternoon cleaning it up.

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,308
    Vote Rating
    125
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    designer.js is a legacy file that you can delete if you would like.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  3. #3
    Sencha User
    Join Date
    Feb 2012
    Location
    Mercer Island, WA
    Posts
    66
    Vote Rating
    0
    DonRul is on a distinguished road

      0  

    Default


    It looks like the base directory under stores is legacy as well. So I assume that the problem was inconsistency between Application and app.js

  4. #4
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,308
    Vote Rating
    125
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Yes, this stems from the change from subclassing to using overrides.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

Thread Participants: 1