Bug 124278

Summary: return type in class diagram does not get displayed if the class doesn't exist
Product: [Applications] umbrello Reporter: Karl Pietrzak <kap4020>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: PRE: missing return type
POST: return type there because the class exists

Description Karl Pietrzak 2006-03-26 05:59:43 UTC
Version:           1.5.1 (using KDE 3.4.2 Level "b" , SUSE 10.0)
Compiler:          Target: x86_64-suse-linux
OS:                Linux (x86_64) release 2.6.13-15.8-default

How to reproduce:
1. Create a class, add an Operation, and set its return type to a non-existent class.

The return type will not appear in the diagram.

2. Create a new class with that previously non-existent type.

The return type in the first class will still not show up.

3. Go to the Operations section of that first class, edit that operation, but don't change anything.  Just keep hitting OK.

Now, the return type displays.

See the screenshots for a visual comparison of what I mean, which is probably more meaningful than this description.
Comment 1 Karl Pietrzak 2006-03-26 06:08:11 UTC
Created attachment 15309 [details]
PRE: missing return type
Comment 2 Karl Pietrzak 2006-03-26 06:08:48 UTC
Created attachment 15310 [details]
POST: return type there because the class exists
Comment 3 Oliver Kellogg 2006-03-26 14:51:48 UTC

*** This bug has been marked as a duplicate of 122497 ***