[Uml-devel] [Bug 283744] Junk residual artifacts littering project file

Oliver Kellogg okellogg at users.sourceforge.net
Sat Feb 4 19:02:31 UTC 2012


https://bugs.kde.org/show_bug.cgi?id=283744





--- Comment #2 from Oliver Kellogg <okellogg users sourceforge net>  2012-02-04 19:02:30 ---
Created an attachment (id=68491)
 --> (http://bugs.kde.org/attachment.cgi?id=68491)
Diff against trunk/KDE/kdesdk/umbrello r1278121

(In reply to comment #1)
> [...]
> Updated project file. Note how large the file size is, which I don't think is
> reasonable. It's 1.1 MB uncompressed.

Whew. Let's see...
Going through the file from top to bottom, the first strangeness is the
"namespace" attribute at your stereotypes:

    <UML:Stereotype visibility="public" isSpecification="false"
namespace="Logical View" isAbstract="false" isLeaf="false" isRoot="false"
xmi.id="constructor" name="constructor"/>

The namespace should be "m1".
Studying the current Umbrello trunk code, it escapes me how this could be set
otherwise.
Anyway, the attached patch adds a sanity check at UMLDoc::addStereotype() which
makes sure the UMLObject::m_pUMLPackage of the UMLDoc::m_stereoList elements is
always NULL, and also adds an explanation about this in stereotype.h.
More to come.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the umbrello-devel mailing list