<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>135540</bug_id>
          
          <creation_ts>2006-10-12 22:18:55 +0000</creation_ts>
          <short_desc>JJ: Javascript Code Generation creates bad format methods (operations)</short_desc>
          <delta_ts>2007-02-12 15:05:35 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>umbrello</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>unspecified</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="ediaz666@gmail.com">ediaz666</reporter>
          <assigned_to name="Umbrello Development Group">umbrello-devel</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>476432</commentid>
    <comment_count>0</comment_count>
    <who name="ediaz666@gmail.com">ediaz666</who>
    <bug_when>2006-10-12 22:18:56 +0000</bug_when>
    <thetext>Version:           1.5.5 (using KDE 3.5.5 &quot;release 19.1&quot; , openSUSE )
Compiler:          Target: x86_64-suse-linux
OS:                Linux (x86_64) release 2.6.16.13-4-default

Javascript Code Generator returns bad format operations:
  ....
  ClassA.prototype.method1 function( param1 )
  ....

it doesn&apos;t put the = sign between method&apos;s name and the function declaration</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>488370</commentid>
    <comment_count>1</comment_count>
    <who name="Oliver Kellogg">okellogg</who>
    <bug_when>2006-11-20 21:13:20 +0000</bug_when>
    <thetext>Another Junior Job candidate.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>508480</commentid>
    <comment_count>2</comment_count>
      <attachid>19624</attachid>
    <who name="Antoine Dopffer">compudop</who>
    <bug_when>2007-02-11 21:28:50 +0000</bug_when>
    <thetext>Created attachment 19624
patch for bug #135540

Hello,

the bug was in file codegenerators/jswriter.cpp
This was indeed a junior job.

Have a nice day</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>508644</commentid>
    <comment_count>3</comment_count>
    <who name="Oliver Kellogg">okellogg</who>
    <bug_when>2007-02-12 15:05:34 +0000</bug_when>
    <thetext>SVN commit 632848 by okellogg:

writeOperations(): Aply attachment 19624 from Antoine Dopffer.
Thanks Antoine for contributing.
BUG:135540


 M  +4 -0      ChangeLog  
 M  +1 -1      umbrello/codegenerators/jswriter.cpp  


--- branches/KDE/3.5/kdesdk/umbrello/ChangeLog #632847:632848
@@ -1,3 +1,7 @@
+Version 1.5.7
+* Bugs fixed from http://bugs.kde.org:
+* Javascript Code Generation creates bad format methods (135540)
+
 Version 1.5.61
 
 * Copy/paste of attribute or operation in list view within same class
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/codegenerators/jswriter.cpp #632847:632848
@@ -223,7 +223,7 @@
             js &lt;&lt; &quot; */&quot; &lt;&lt; m_endl;
         }//end if : write method documentation
 
-        js &lt;&lt; classname &lt;&lt; &quot;.prototype.&quot; &lt;&lt; cleanName(op-&gt;getName()) &lt;&lt; &quot; function &quot; &lt;&lt; &quot;(&quot;;
+        js &lt;&lt; classname &lt;&lt; &quot;.prototype.&quot; &lt;&lt; cleanName(op-&gt;getName()) &lt;&lt; &quot; = function &quot; &lt;&lt; &quot;(&quot;;
 
         int i = atl.count();
         int j=0;
</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>19624</attachid>
            <date>2007-02-11 21:28:50 +0000</date>
            <delta_ts>2007-02-11 21:28:50 +0000</delta_ts>
            <desc>patch for bug #135540</desc>
            <filename>135540.patch</filename>
            <type>text/plain</type>
            <size>646</size>
            <attacher name="Antoine Dopffer">compudop</attacher>
            
              <data encoding="base64">SW5kZXg6IHVtYnJlbGxvL3VtYnJlbGxvL2NvZGVnZW5lcmF0b3JzL2pzd3JpdGVyLmNwcAo9PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09Ci0tLSB1bWJyZWxsby91bWJyZWxsby9jb2RlZ2VuZXJhdG9ycy9qc3dyaXRlci5jcHAJ
KHLDqXZpc2lvbiA2MzI2MTApCisrKyB1bWJyZWxsby91bWJyZWxsby9jb2RlZ2VuZXJhdG9ycy9q
c3dyaXRlci5jcHAJKGNvcGllIGRlIHRyYXZhaWwpCkBAIC0yMjMsNyArMjIzLDcgQEAgdm9pZCBK
U1dyaXRlcjo6d3JpdGVPcGVyYXRpb25zKFFTdHJpbmcgYwogICAgICAgICAgICAganMgPDwgIiAq
LyIgPDwgbV9lbmRsOwogICAgICAgICB9Ly9lbmQgaWYgOiB3cml0ZSBtZXRob2QgZG9jdW1lbnRh
dGlvbgogCi0gICAgICAgIGpzIDw8IGNsYXNzbmFtZSA8PCAiLnByb3RvdHlwZS4iIDw8IGNsZWFu
TmFtZShvcC0+Z2V0TmFtZSgpKSA8PCAiIGZ1bmN0aW9uICIgPDwgIigiOworICAgICAgICBqcyA8
PCBjbGFzc25hbWUgPDwgIi5wcm90b3R5cGUuIiA8PCBjbGVhbk5hbWUob3AtPmdldE5hbWUoKSkg
PDwgIiA9IGZ1bmN0aW9uICIgPDwgIigiOwogCiAgICAgICAgIGludCBpID0gYXRsLmNvdW50KCk7
CiAgICAgICAgIGludCBqPTA7Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>