[Issue 5017] profile model elements are absent from diagrams on reload

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.issues
Message-ID <[email protected]>
http://argouml.tigris.org/issues/show_bug.cgi?id=5017






------- Additional comments from [email protected] Wed Aug 31 00:34:07 -0700 2011 -------
I provided a wrong snippet of FacadeMDRImpl due to copy/paste.

FacadeMDRImpl.java:

    public String getUUID(Object base) {
        try {
            if (base instanceof RefBaseObject) {
                String mofId = ((RefBaseObject) base).refMofId();
                // Look for an existing reference matching our MofID
                XmiReference ref = ((XmiReference) modelImpl.getObjectToId()
                        .get(mofId));
                if (ref == null) {
                    return mofId;
                } else if (ref.getSystemId().startsWith(
                        "http://argouml.org")) {
                    return ref.getSystemId() + "#" + ref.getXmiId();
                } else {
                    return ref.getXmiId();
                }
            }
        } catch (InvalidObjectException e) {
            throw new InvalidElementException(e);
        }
        return illegalArgumentString(base);
    }

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

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.