[umbrello-devel] [umbrello] [Bug 336810] Incorrect namespace assignment of base class with c++ import
Ralf Habacker
ralf.habacker at freenet.de
Fri Jun 27 20:59:28 UTC 2014
https://bugs.kde.org/show_bug.cgi?id=336810
--- Comment #2 from Ralf Habacker <ralf.habacker at freenet.de> ---
The problem is that in Import_Utils::createGeneralization()
void createGeneralization(UMLClassifier *child, const QString &parentName)
{
UMLObject *parentObj = createUMLObject(UMLObject::ot_Class, parentName);
UMLClassifier *parent = static_cast<UMLClassifier*>(parentObj);
createGeneralization(child, parent);
}
createUMLObject() is called with the global namespace as parent (third
parameter=0), which search (and creates it not found) the related class in the
global namespace, while it is required to find the namespace of the parent
class first and to provide it to createUMLObject().
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the umbrello-devel
mailing list