Pull request 6820 - when component type is immutable, replaceAssociations should call setPropertyValues, it should either create new object using those properties or return Type.replace