[Issue 5990] delete from model of a call action doesn't remove return row and exception is printed on selection
| Newsgroups | gmane.comp.lang.uml.argouml.issues |
|---|---|
| Message-ID | <[email protected]> |
http://argouml.tigris.org/issues/show_bug.cgi?id=5990 ------- Additional comments from [email protected] Sun Oct 9 06:42:59 -0700 2011 ------- I just attached a patch that solves the InvalidObjectException. Is this a good solution? In my code, we maintain a private attribute on the FigMessage class to remember what type of Message is modeled, so that we do not have to query the associated Action in the model to know this. This because we will still need this information once the model element is already deleted. In the patch, I store the Message kind in a string, representing the model element name, and a boolean for sync/async. Maybe it would better be a enum? Another solution would be to make specializations of the FigMessage per kind. Would that not be the best solution? Another point: the new variable "isSync" in my patch does not yet follow model changes. ------------------------------------------------------ http://argouml.tigris.org/ds/viewMessage.do?dsForumId=448&dsMessageId=2852038 To unsubscribe from this list, e-mail: [[email protected]]. Please do not reply to this mail. Instead, add your comments in the issue.