Results 1 to 5 of 5

Thread: (BUG) Basic Function inside the Application (Build 311)

    Success! Looks like we've fixed this one. According to our records the fix was applied for DSGNR-1575 in a recent build.
  1. #1
    Sencha User
    Join Date
    Apr 2008
    Posts
    80
    Vote Rating
    0
      0  

    Default (BUG) Basic Function inside the Application (Build 311)

    Hi guys,

    In the last build of desinger their is a bug with basic functions defined under the main application definition :

    -> New project
    -> Add a basic function to the Application
    -> Add somme lines of code

    After saving the first time the code generated in the application is preceeded by a new line, and each time we try to save, the designer adds a line on every custom function but won't save changes to the disc until we remove all files except the project file (of course when open to not loose changes). here are the project and the code generated in designer.js file.

    Code:
    Ext.application({
        name: 'MyApp',
    
        launch: function() {
            // Some action !
            console.log('launch -Application');
        },
    
        someFunction: function(param1, param2) {
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
            console.log();
        }
    
    });
    Attachment 32603
    Attached Files Attached Files

  2. #2
    Sencha User
    Join Date
    Apr 2008
    Posts
    80
    Vote Rating
    0
      0  

    Default

    does it interest someone ?

  3. #3
    Sencha User aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,487
    Vote Rating
    145
      0  

    Default

    Yes, it does interest us.

    Please explain the problem a little more. I understand that you get a new line in the custom function each time you save.

    I don't understand the problem about having to remove all files though...
    Aaron Conran
    @aconran

  4. #4
    Sencha User
    Join Date
    Apr 2008
    Posts
    80
    Vote Rating
    0
      0  

    Default

    Hi,

    When adding a function to the main Application, as soon as we add code lines and try to save, the designer won't save anything, it notice us that the files were saved but they are not, and continue to mark the project as unsaved with (*), insteed it generates new lines on every custom function.

    sometimes when i remove all generated files including the metadata folder it saves the files.

    everything is in the project file that I submitted with this post.

  5. #5
    Sencha User
    Join Date
    Apr 2008
    Posts
    80
    Vote Rating
    0
      0  

    Default

    It's fixed in the last version.

Posting Permissions

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