-
-
Notifications
You must be signed in to change notification settings - Fork 817
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dev/core#2825 - Make source contact required for activities on the form #22243
Conversation
(Standard links)
|
Makes sense... except that if postprocess fills it with current user then is it a normal workflow to leave it blank? |
The default is always the logged in user, so it's never blank to start. |
The other functions call parent::XX so share with the regular activity. The case activity doesn't call parent for post process. So a different quickfix would be to copy the code from postprocess that fills in the current user if blank. |
In that case I think this fix is fine. |
Jenkins re test this please |
Hmm, any updates made to jenkins itself? This seems to happen after all the tests have run:
|
yeh I upgraded the xunit plugin and its doing interesting things |
Jenkins re test this please |
Thanks! |
Overview
https://lab.civicrm.org/dev/core/-/issues/2825
Before
It's possible to edit a case activity and remove the source contact. You don't notice it on the regular activity form because postprocess will fill in the current user, but on a case activity it stays blank and then causes problems later such as disappearing from manage case and crashing the Print Report.
After
Both types of activities have it required.
Technical Details
It's a quickfix because you'll still have case problems if you permanently delete a contact (https://lab.civicrm.org/dev/core/-/issues/1251). That could be considered a bigger issue though because you've lost important data if you do that.
Comments