[Uml-devel] [Bug 54816] associations not pasted after a copy

Oliver Kellogg okellogg at users.sourceforge.net
Mon Oct 6 15:38:31 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=54816     
okellogg at users.sourceforge.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |



------- Additional Comments From okellogg at users.sourceforge.net  2003-10-06 23:16 -------
Had to reopen this one:
Copy/pasteing seems to work but Cut/paste does not.
This has to do with the UMLAssociation getting removed
by the UMLView::removeAssocInViewAndDoc which is called
by UMLView::removeAssoc in the course of cutting.

I'll investigate whether we can add a flag to removeAssoc
("inCutOperation" or so) that will preserve the
UMLAssociation in the UMLDoc when removeAssoc is called
in the course of a cut. OTOH, this creates the problem
that obsolete UMLAssociations (i.e. UMLAssociations
that have been cut some time, but were never pasted)
never get removed.

IMHO the only real solution is to have a listview
representation for UMLAssociations so that they can be
explicitly removed. (Sounds like major work - I can't
shoulder it just now.)




More information about the umbrello-devel mailing list