[Issue 5990] delete from model of a call action doesn't remove return row and exception is printed on selection

[email protected]
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] Mon Oct 24 10:49:31 -0700 2011 -------
- Is it enougth ? Even if we comment in removeFigEdgen we have an other 
exception:
at org.argouml.model.mdr.FacadeMDRImpl.isACreateMessage(FacadeMDRImpl.java:4754)
at org.argouml.sequence2.diagram.FigMessage.isCreateMessage(FigMessage.java:162)
at org.argouml.sequence2.diagram.FigClassifierRole.getFirstCreateFigMessage 
(FigClassifierRole.java:224)
...
at org.argouml.sequence2.diagram.FigClassifierRole.updateBounds 
(FigClassifierRole.java:303)
at 
org.argouml.uml.diagram.ui.FigNodeModelElement.notationRenderingChanged(FigNodeM
odelElement.java:2651)
	at 
org.argouml.notation.NotationProvider.propertyChange(NotationProvider.java:181)
	at 
org.argouml.model.mdr.ModelEventPumpMDRImpl.fire(ModelEventPumpMDRImpl.java:517)



- I wonder if it's better (I haven't yet an opinion) to have in FigMessage 

 @Override
    protected void removeFromDiagramImpl() {
        super.removeFromDiagramImpl();
        FigClassifierRole fig = (FigClassifierRole) getSourceFigNode();
        fig.removeFigEdge(this);
        
        if (!isSelfMessage()) {
            fig = (FigClassifierRole) getSourceFigNode();
            fig.removeFigEdge(this);
        }
        
    }

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=448&dsMessageId=2862466

To unsubscribe from this list, e-mail: [[email protected]].
Please do not reply to this mail. Instead, add your comments in the issue.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.