[umbrello] [Bug 425009] Templates as data types of parameters in operations causing problems

Robert Hairgrove bugzilla_noreply at kde.org
Sat Aug 8 14:13:38 BST 2020


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

--- Comment #1 from Robert Hairgrove <code at roberthairgrove.com> ---
How to reproduce problem:

A. Start a new project. Under "Logical View" in the tree view, create three
nested packages: PKG1/PKG2/PKG3.
B. Create a new class under PKG3 called "ClassBase". Add a template "CharType".
C. Add a new operation with a parameter. In the parameter properties dialog,
select "CharType" from the list as parameter type. Notice that the type
"PKG1::PKG2::PKG3::ClassBase::CharType" is also offered as a type.
D. After clicking "OK", notice that the parameter type is empty in the list of
parameters for the new operation.
E. After selecting the parameter just entered and clicking on "Properties", the
type has changed to "PKG1::PKG2::PKG3::ClassBase::CharType" instead of just
"CharType".
F. In the tree view, notice that there is a new top-level class with the name
"PKG1::PKG2::PKG3::ClassBase::CharType" which was not there before.

It is therefore not possible to select a template of the class as a datatype
for the parameter without having this happen.

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


More information about the umbrello-devel mailing list