Bug 100307 - classes in packages are not recognized in add-attribute-dialog
Summary: classes in packages are not recognized in add-attribute-dialog
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-26 15:11 UTC by Vasek Smidl
Modified: 2005-02-26 19:43 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vasek Smidl 2005-02-26 15:11:17 UTC
Version:           1.4-beta2 (using KDE KDE 3.3.92)
Installed from:    Compiled From Sources
Compiler:          gcc 
OS:                Linux

Reproduce as follows:

- new model
- create package P
- in P, add a new class A
- in P, add a new class B
- in B, add a new attribute x and pick its type as A

= a new class A is created in the root (outside of P).

I would expect to link x to P:A
Comment 1 Oliver Kellogg 2005-02-26 19:43:07 UTC
CVS commit by okellogg: 

BUG:100307 - setupDialog(): Use UMLClassifier::getFullyQualifiedName().


  M +1 -0      ChangeLog   1.70
  M +1 -1      umbrello/dialogs/umlattributedialog.cpp   1.24


--- kdesdk/umbrello/ChangeLog  #1.69:1.70
@@ -30,4 +30,5 @@
 96216 96221 96964 97155 97182 97697 97887 97984 98603 98899
  99697 100142
+100290 100307
 
 Version 1.3

--- kdesdk/umbrello/umbrello/dialogs/umlattributedialog.cpp  #1.23:1.24
@@ -114,5 +114,5 @@ void UMLAttributeDialog::setupDialog() {
         UMLClassifier* obj;
         for (obj=namesList.first(); obj!=0; obj=namesList.next()) {
-                insertType( obj->getName() );
+                insertType( obj->getFullyQualifiedName(".") );
         }