Bug 87537 - DataTypes should be scoped just as other UML elements
Summary: DataTypes should be scoped just as other UML elements
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
: 371019 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-08-19 20:55 UTC by Oliver Kellogg
Modified: 2022-04-16 07:07 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 2.34.70 (KDE releases 22.07.70)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Kellogg 2004-08-19 20:55:07 UTC
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.
Comment 1 Oliver Kellogg 2004-08-24 00:04:18 UTC
*** Bug has been marked as fixed ***.
Comment 2 Oliver Kellogg 2020-10-11 07:29:55 UTC
Marking this Resolved was obviously an error on my part, sorry.
Comment 3 Oliver Kellogg 2022-04-15 20:10:58 UTC
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
Comment 4 Oliver Kellogg 2022-04-16 07:07:29 UTC
*** Bug 371019 has been marked as a duplicate of this bug. ***