[Uml-devel] [Bug 68395] import of classes results in sig11 (with a little help)

lparrab at gmx.net lparrab at gmx.net
Thu Nov 20 13:32:03 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=68395     
lparrab at gmx.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
      everconfirmed|0                           |1



------- Additional Comments From lparrab at gmx.net  2003-11-20 22:31 -------
Umbrello crashes when the class has an overloaded operation, one of which takes no parameters.
The most comon case would be a class having two or more constructors and one of them doesnt take any parameters
The problem is:
1 - The doc always create the operation empty ( just with name ), so if the operation with no parameters has already been added to the classifier, the signature check will fail and the dialog to change the name and/or parameters pops up (first error)
2 - The user doesnt know why he gets the dialog, so just presses cancel and the doc returns 0L ( which is correct, since the user aborted the op creation)
3 - the class parser doesnt check for 0L and tries to set attributes and return type (second error)

Someone please review the patch, and I will apply it.




More information about the umbrello-devel mailing list