[umbrello-devel] [umbrello] [Bug 345546] New: stereotype reference count issue on close, open or new document
Ralf Habacker
ralf.habacker at freenet.de
Thu Mar 26 12:53:15 UTC 2015
https://bugs.kde.org/show_bug.cgi?id=345546
Bug ID: 345546
Summary: stereotype reference count issue on close, open or new
document
Product: umbrello
Version: 2.10.5
Platform: Other
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: umbrello-devel at kde.org
Reporter: ralf.habacker at freenet.de
On closing documents stereotyps are not unreferenced.
Reproducible: Always
Steps to Reproduce:
1. compile umbrello from git source
2. set a breakpoint on the last instruction in UMLDoc::closeDocument()
3. start umbrello debug session
-> the debugger will break the application
4. inspect this->m_stereolist
-> there is one entry:
folder with m_refcount=6
5. click menu entry file->close to close the document
-> the debugger will break the application
6. inspect this->m_stereolist
-> there are two entries:
folder with m_refcount=6
datatypes with m_refcount=11
7. continue again click menu entry file->close to close the document
-> the debugger will break the application
8. inspect this->m_stereolist
-> there are two entries:
folder with m_refcount=6
datatypes with m_refcount=22
and so one
Actual Results:
The 'datatype' stereotype is not dereferenced on document close. Every
iteration of close/new/open documents only increase the reference counter.
Expected Results:
The 'datatype' stereotype should be dereferenced on document close.
bug is present at least since version 2.9.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the umbrello-devel
mailing list