CiviCase singleton activity warning has wrong url
This came up earlier when I was first checking out the Case v5 extension, but I thought I also checked it against core and it was ok in core so I filed the bug against the extension (https://github.com/compucorp/uk.co.compucorp.civicase/issues/151). But maybe I didn't actually check since it also seems to be in core.
- Configure a case type so that some activity type (other than open case) has a max_instances set.
- On manage case, create a second activity of that type.
- It will properly give you the warning that the singleton activity already exists, and provide a link to edit the existing one, but the link has
id=0
instead of the actual activity id. - If you click the link, it gives a fatal error.
It's something going on here: https://github.com/civicrm/civicrm-core/blob/5.15.1/CRM/Case/Form/Activity.php#L187-L199
Will see what I can do...