-
11 Mar 2012 5:12 AM #1
(BUG) Basic Function inside the Application (Build 311)
(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.
Attachment 32603Code:Ext.application({ name: 'MyApp', launch: function() { // Some action ! console.log('launch -Application'); }, someFunction: function(param1, param2) { console.log(); } });
-
12 Mar 2012 6:22 AM #2
-
12 Mar 2012 9:19 AM #3
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
Sencha Architect Development Team
-
12 Mar 2012 9:35 AM #4
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.
-
30 Mar 2012 4:54 AM #5
Success! Looks like we've fixed this one. According to our records the fix was applied for
DSGNR-1575
in
Architect 2.0.


Reply With Quote