Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Steps to reproduce:
* Make view of activities
* Using VBO, configure to allow Assign and Unassign actions
* When performing VBO action, SQL can be observed inserting the new activity assignee
* CiviCRM calls entity_save("civicrm_activity", Object(CivicrmEntity)) on the activity being updated
* This CiviCRM API makes an SQL query INSERT IGNORE which restores the previous assignment
Comment | File | Size | Author |
---|---|---|---|
#2 | civicrm_entity-2806041-activity_assignment.patch | 1.18 KB | xurizaemon |
Comments
Comment #2
xurizaemonhttps://github.com/eileenmcnaughton/civicrm_entity/pull/83
Comment #3
xurizaemonKeen to think about how this could be unit tested - it seems like a pretty straightforward case to demonstrate how we could unit test CiviCRM Entity, but we need to get our heads around bootstrapping tests that may depend on a particular DB config ...
Comment #5
markusa CreditAttribution: markusa commented