Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.4.4
-
Fix Version/s: 3.4.6
-
Component/s: CiviCase, CiviCRM Profile
-
Labels:None
Description
When an administrator edits an activity in CiviCase, the existing activity is flagged with is_current_revision=0, and a new activity (with a new ID and updated information) is created. Any attempt to hyperlink to a profile form for this activity should use the new activity ID instead of the old activity ID.
However, if one has used email to drive individuals to the appropriate profile forms, then those old emails will reference the old activity ID. It is impossible to un-send those emails (and it would be disconcerting to resend them just because of an internal ID increment.) So we should ensure that old hyperlinks continue to work.
The attached patch revises the profile-form processor to internally translate the submitted ID to the latest ID.