[umbrello-devel] [umbrello] [Bug 360419] New: Can't return generic or template type in method (or attribute)

Tim Lehmann via KDE Bugzilla bugzilla_noreply at kde.org
Fri Mar 11 16:55:39 UTC 2016


https://bugs.kde.org/show_bug.cgi?id=360419

            Bug ID: 360419
           Summary: Can't return generic or template type in method (or
                    attribute)
           Product: umbrello
           Version: unspecified
          Platform: Other
               URL: http://pastebin.com/pSiWru9b
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: umbrello-devel at kde.org
          Reporter: l_ at freenet.de

I create a class and add a template parameter to this class. Now I want to add
a member of the template type to this class. In the attribute property this is
possible but the uml graphic doesn't show the template type.
Same problem by returning an object of the generic type by a method. In the
method property I am able to define the template type as return type but in the
uml graphic it looks like the method returns nothing.

Reproducible: Always

Steps to Reproduce:
1. Create a class.
2. Right click on this class: new --> Template ... --> OK
3. Right click on this class: new --> Attribute/Operation --> type: the added
Template --> OK

Actual Results:  
You get an uml class its: attribute has no type / method seems to return
nothing.

Expected Results:  
The attribute should be from template type. The method should return the
template type.

I have got public the content of my *.xmi file that show the issue on
pastebin.com.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the umbrello-devel mailing list