- Issue created by @jonhalle
- 🇺🇸United States markusa
It must be that the case is first saved without an assignee, or if assignee is assigned in a hook_civicrm_pre() implementation it is happening after CiviCRM's hook implementation is running.
CiviCRM validates based on what the api action.validate gives it.
It maybe possible to goto: /admin/structure/civicrm-entity/settings
"Advanced Settings"
Check "Disable pre/post hooks"See if it works without error.
Let me know if that allows it to work.
- 🇬🇧United Kingdom jonhalle
Thank you @markusa. Yes that does allow it to work - though clearly it's a diagnostic step not a workaround. Does that give any more clues? Happy to do some more poking but I am not really clear on what structures in Drupal this hook is seeking to update.
One additional thing I have noticed is that the error does not stop the case being created, albeit with only the activities up to the one with the pre-assigned user being created.
- 🇺🇸United States acacciola
I'm seeing this continuing to persist exactly as described. Are there any updates or paths forward?