I've got a Drupal View that identifies a specific activity within a case and provides a link to the activity using its ID number. It appears to be working correctly in the majority of use cases, where I can simply filter out deleted cases, and filter on the activity type, status and current revision to find the right activity.
However, in some cases the view is showing me a link to an activity which I can't see when I view the 'Manage Case' screen. Indeed the activity ID that the view is presenting doesn't even show up when I search within CiviCRM for activities that match the other filters I'm using in the view.
It looks like CiviCRM - at least in the version I'm using in this case - is changing the ID number of activities when the activity gets edited?