Bug 360419

Summary: Can't return generic or template type in method (or attribute)
Product: [Applications] umbrello Reporter: Tim Lehmann <l_>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED WORKSFORME    
Severity: normal CC: ralf.habacker
Priority: NOR Keywords: triaged
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
URL: http://pastebin.com/pSiWru9b
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Tim Lehmann 2016-03-11 16:55:39 UTC
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.
Comment 1 Ralf Habacker 2016-06-02 10:53:21 UTC
According to http://en.cppreference.com/w/cpp/language/variable_template there are several variants.
To get some insights of how it should be modelled it would be nice to have a working c++ test case showing what is expected.
Comment 2 Andrew Crouthamel 2018-09-26 22:23:26 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Andrew Crouthamel 2018-10-27 02:35:13 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!