| Summary: | DataTypes should be scoped just as other UML elements | ||
|---|---|---|---|
| Product: | [Applications] umbrello | Reporter: | Oliver Kellogg <okellogg> |
| Component: | general | Assignee: | Umbrello Development Group <umbrello-devel> |
| Status: | RESOLVED FIXED | ||
| Severity: | wishlist | CC: | ralf.habacker |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/sdk/umbrello/commit/d46954b97ecd6d2af7900cb9864ddf93a9f5431e | Version Fixed/Implemented In: | 2.34.70 (KDE releases 22.07.70) |
| Sentry Crash Report: | |||
*** Bug has been marked as fixed ***. Marking this Resolved was obviously an error on my part, sorry. Git commit d46954b97ecd6d2af7900cb9864ddf93a9f5431e by Oliver Kellogg. Committed on 15/04/2022 at 20:09. Pushed by okellogg into branch 'master'. Fix "DataTypes should be scoped just as other UML elements" umbrello/umllistview.cpp - In function addNewItem do not force parentItem of lvt_Datatype to m_datatypeFolder. FIXED-IN: 2.34.70 (KDE releases 22.07.70) M +0 -4 umbrello/umllistview.cpp https://invent.kde.org/sdk/umbrello/commit/d46954b97ecd6d2af7900cb9864ddf93a9f5431e *** Bug 371019 has been marked as a duplicate of this bug. *** |
Version: (using KDE Devel) Installed from: Compiled sources Pointers and pointer types (e.g., C++ typedefs) should be mapped to UML as DataTypes: +----------------+ +-----------+ | <<datatype>> | <<points_to>> | | | |-- -- -- -- -- -->| MyClass | | MyClass* | | | +----------------+ +-----------+ However, this means the UML DataType is scoped the same way as regular classes and other UML elements. For example, in C++: namespace MyNamespace { class MyClass { }; typedef MyClass* MyPointer; } In Umbrello's list view, the DataType 'MyPointer' should be located inside the namespace MyNamespace.