Hello
I've developed a custom agent (ECMA 2.3?, MIM 4.3.2195.0), for some time it's worked as expected, but after adding some new features it's broken.
MACapabilites.ExportType is set to AttributeUpdate, that's mean for multivalued attribute to take care of deletes old and adds new values and bring them to export phase.
Case: Object Obj with multivalued attribute Attr changed value from M to N
On export csentry have such settings:
Correct behavior (Was)
- Obj.ObjectModificationType set to ObjectModificationType.Update
- Attr.ModificationType set to AttributeModificationType.Update
- M.ValueChanges.ModificationType set to ValueModificationType.Delete
- N.ValueChanges.ModificationType set to ValueModificationType.Add
Incorrect behavior (Now)
- Obj ObjectModificationType set to ObjectModificationType.Update
- Attr.ModificationType set to AttributeModificationType.Replace
- N.ValueChanges.ModificationType set to ValueModificationType.Add
Current behavior is same as in ECMA 2.0 or ExportType = AttributeReplace.
I've checked ExportType in run-time and MIM DB table [dbo].[mms_management_agent], ExportType is 1 (AttributeUpdate).
I don't want to recreate agent as it has accumulated data saved in CS, and it's painful to lost it. Need your help:)