[Issue 5017] profile model elements are absent from diagrams on reload
| Newsgroups | gmane.comp.lang.uml.argouml.issues |
|---|---|
| Message-ID | <[email protected]> |
http://argouml.tigris.org/issues/show_bug.cgi?id=5017
User euluis changed the following:
What |Old value |New value
================================================================================
Subcomponent|Profiles |Persistence
--------------------------------------------------------------------------------
------- Additional comments from [email protected] Sun Aug 21 16:25:43 -0700 2011 -------
DiagramMemberFilePersister.save(ProjectMember member, OutputStream outStream)
(...)
|-> OCLExpander.expand(Writer w, Diagram d)
(...) uses PGML.tee which has
| href="<ocl ignoreNull>org.argouml.uml.UUIDHelper.getUUID(self)</ocl>"
| expansions
|
-> UUIDHelper.getUUID(Object o)
|
-> Model.getFacade().getUUID(base)
And the UUID isn't enough. As in
org.netbeans.lib.jmi.xmi.WriterBase.writeInstance(RefObject, boolean) we need
the <systemId>#<UUID|xmiId>.
Would this be possible to change by creating something equivalent to
org.argouml.model.mdr.XmiReferenceProviderImpl in org.argouml.model? It would
have to be implemented both in MDR and EUML implementations... Then PGML.tee
would use this in the appropriate places.
For now I'll make some experiments along the lines above and report afterward.
------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=448&dsMessageId=2826774
To unsubscribe from this list, e-mail: [[email protected]].
Please do not reply to this mail. Instead, add your comments in the issue.