{
NucleusLogger.PERSISTENCE.debug(LOCALISER.msg("013005",
StringUtils.toJVMIDString(newValue), relatedMmd.getFullFieldName(),
StringUtils.toJVMIDString(pc)));
}
newSM.replaceFieldValue(relatedMmd.getAbsoluteFieldNumber(), pc);
}
else if (newValueFieldValue != pc)
{
// Was set to different object, so null out the other objects relation
ObjectProvider newValueFieldSM = om.findObjectProvider(newValueFieldValue);