Bug 100307

Summary: classes in packages are not recognized in add-attribute-dialog
Product: [Applications] umbrello Reporter: Vasek Smidl <smidl>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

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(".") );
         }