MSPDIWriter.writeResource() sets Resource.UID like that: xml.setUID(m_resourceMapper.getUniqueID(mpx));
However, MSPDIWriter.writeAssignment() method sets reference to Resource.uniqueId without re-mapping, so MSP file has invalid references to Resources in <Assignment> sections:
Hi Jon,
This time I think it is a bug.
MSPDIWriter
has a code to convertuniqueId
touid
through these mappers:MSPDIWriter.writeResource()
sets Resource.UID like that:xml.setUID(m_resourceMapper.getUniqueID(mpx));
However,
MSPDIWriter.writeAssignment()
method sets reference to Resource.uniqueId without re-mapping, so MSP file has invalid references to Resources in<Assignment>
sections:The fix is very simple:
Have a good day, Alex