APIv4 Activity::update() causes target contacts and assignees to be deleted
\Civi\Api4\Activity::update() causes target contacts and assignees to be deleted from
Reproduction steps (includes links to APIv4 Explorer on dmaster)
- Create a new activity and assign it to a target contact
- Observe that the activity has a target contact
- Update an unrelated activity field using
- Observe that the target contact was deleted
Target contact and assignees are deleted from
ActivityContact. Source contact is preserved.
Target contacts and assignees should be preserved.
- CiviCRM: Master
- PHP: 7.2
Not sure if this ever worked, we have no existing code that calls this.