systopia / de.systopia.xcm

CiviCRM Extended Contact Matcher
Other
5 stars 10 forks source link

Changing ActivityType in DifferenceHandling-Section with I3Val Handler not working #109

Open TychoSchottelius opened 11 months ago

TychoSchottelius commented 11 months ago

When I want to change the ActivityType for the DiffernceHandling in the XCM-Profile UI, because I switched the "Process Differences"-Option from "DiffActivity" to "I3Val Handler", I expect the next created Activity for that purpose to of the selected activityType. But it falls back to the initially selected activityType, resulting in activityType not switchable.

steps to reproduce

  1. installed versions:
    1. XCM 1.11.0,
    2. I3Val Input Validation 0.5-alpha13
    3. CiviCRM 5.58.1
  2. create XCM-Profile with initial DifferenceHandling
  3. edit this profile -> DifferenceHandling -> Process Differences: I3Val Handler and switch activityType to any other
  4. use Profile via API (contact.getorcreate) -> activityType of the newly created DifferenceActivity is still the same as before
  5. switch back to ProcessDifferences: "Diff Activity" in the profile and keep the newly created ActivityType: test again -> new activityType is used