Wait! Looks like we don't have enough information to add this to bug database. Please follow this template bug format.
  1. #1
    Sencha Premium Member
    Join Date
    Oct 2011
    Location
    Baton Rouge, LA
    Posts
    75
    Vote Rating
    4
    mlmcconnell is on a distinguished road

      0  

    Default Model and Store Names Mysteriously Renamed

    Version: SA3 Public Beta on Mac OS X Mountain Lion

    Problem: Previously created and named Model and Store names automatically changed to their respective default names (e.g., 'MyModel' & 'MyXMLStore') in the App.js file upon a save operation.

    What triggered it?: I don't have a clue. The last action I performed prior to saving the project was adding fields to two separate Models. The Models I changed were NOT the Model names in the App.js file that reverted to the SA default naming scheme. The only thing I observed about the glitch was that the Model and Store who's names automatically changed were the LAST names in the list of Models and Stores, respectively, in the App.js file.

    Expected behavior: Obviously, Model and Store references should never change on their own.

    Thank You,
    M. McConnell

  2. #2
    Sencha User aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,485
    Vote Rating
    135
    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

    Hrm, definitely sounds like a bug. We'll be on the lookout, can you reliably reproduce this?
    Aaron Conran
    @aconran

  3. #3
    Sencha Premium Member
    Join Date
    Oct 2011
    Location
    Baton Rouge, LA
    Posts
    75
    Vote Rating
    4
    mlmcconnell is on a distinguished road

      0  

    Default

    Hi, Aaron - thanks for the reply. I have changed Model and Store configs literally dozens of times in the project I'm working on and this has happened only once. I will run some experiments today in an attempt to reproduce the error. If I can get it to fire, I'll let you know the exact steps I took to make it happen again.

    Thank You,
    M. McConnell

  4. #4
    Sencha User aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,485
    Vote Rating
    135
    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

    Quote Originally Posted by mlmcconnell View Post
    Hi, Aaron - thanks for the reply. I have changed Model and Store configs literally dozens of times in the project I'm working on and this has happened only once. I will run some experiments today in an attempt to reproduce the error. If I can get it to fire, I'll let you know the exact steps I took to make it happen again.

    Thank You,
    M. McConnell
    Thx, moved the thread to bugs and opened it as INFOREQ.
    Aaron Conran
    @aconran

  5. #5
    Sencha Premium Member dawesi's Avatar
    Join Date
    Mar 2007
    Location
    Melbourne, Australia (aka GMT+10)
    Posts
    1,090
    Vote Rating
    56
    dawesi has a spectacular aura about dawesi has a spectacular aura about

      0  

    Default

    Aaron, i find that if you modify something that is linked to another component, or is something to do with class names or filenames, and don't save 'before' you then configure the class you're working on it throws and error, or configures incorrectly.

    An example is when you rename the class.

    I'll work on some reproducable steps as I find more.
    Lead Trainer / Sencha Specialist
    Teahouse Training Company

    Comprehensive Javascript, Sencha and 3rd Party Stack Training available worldwide online, and onsite in APAC, written by certified official Sencha trainers.



    Unofficial Sites:

    SenchaWorld.com - Videos, and stuff
    Sencha.Community - Tools, Extensions and Resources
    TeahouseHQ.com - Sencha Ecosystem Training Portal

    Code Validation : JSLint | JSONLint | JSONPLint

Thread Participants: 2