Bug 144738 - ActionScript Code Generator returns bad format operations
Summary: ActionScript Code Generator returns bad format operations
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-27 09:41 UTC by Jose Gutierrez
Modified: 2007-04-27 20:21 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jose Gutierrez 2007-04-27 09:41:56 UTC
Version:           1.5.7beta1 (using KDE KDE 3.5.6)
Installed from:    Ubuntu Packages
OS:                Linux

Simil "Bug 135540: JJ: Javascript Code Generation creates bad format methods (operations)"

--- aswriter.cpp        (revisión: 658371)
+++ aswriter.cpp        (copia de trabajo)
@@ -268,7 +268,7 @@
             as << " */" << m_endl;
         }//end if : write method documentation
 
-        as << classname << ".prototype." << cleanName(op->getName()) << " function " << "(";
+        as << classname << ".prototype." << cleanName(op->getName()) << " = function " << "(";
 
         int i= atl.count();
         int j=0;
Comment 1 Oliver Kellogg 2007-04-27 20:21:54 UTC
SVN commit 658558 by okellogg:

writeOperations(): Patch by Jose Gutierrez adds missing "=" at function declaration.
BUG:144738


 M  +1 -1      ChangeLog  
 M  +1 -0      THANKS  
 M  +1 -1      VERSION  
 M  +1 -1      umbrello/codegenerators/aswriter.cpp  


--- branches/KDE/3.5/kdesdk/umbrello/ChangeLog #658557:658558
@@ -12,7 +12,7 @@
 * Association role labels are duplicated (130172)
 * Crash on adding operation to class with Advanced Code Generators enabled (131528)
 * Javascript wrong Code Generation (135527)
-* Javascript Code Generation creates bad format methods (135540)
+* Javascript/ActionScript Code Generation creates bad format methods (135540, 144738)
 * Sequence diagram object size incorrect after toggling "Draw as Actor" (136869)
 * Incorrect Association Properties text (139872)
 * Buttons are not displayed (139913)
--- branches/KDE/3.5/kdesdk/umbrello/THANKS #658557:658558
@@ -33,6 +33,7 @@
 Pascal Fleury <fleury @users.sourceforge.net>
 JP Fournier (jfournier121 @rogers.com)
 Gregorio Guidi <g.guidi @sns.it>
+Jose Gutierrez <joseg @mapasysistemas.com.ar>
 Esben Mose Hansen <esben @despammed.com>
 Olaf Hartig <OleBowle @gmx.de>
 Marius Helf <marius.helf @gmx.de>
--- branches/KDE/3.5/kdesdk/umbrello/VERSION #658557:658558
@@ -1 +1 @@
-1.5.7beta1
+1.5.7
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/codegenerators/aswriter.cpp #658557:658558
@@ -268,7 +268,7 @@
             as << " */" << m_endl;
         }//end if : write method documentation
 
-        as << classname << ".prototype." << cleanName(op->getName()) << " function " << "(";
+        as << classname << ".prototype." << cleanName(op->getName()) << " = function " << "(";
 
         int i= atl.count();
         int j=0;