Contribution Recur reference in membership not updated in merging
When 2 contacts are merged and memberships are merged together, if the duplicate membership has a recurring contribution linked to it but the original didn't or visa versa (say someone renewed and opted in for a recurring membership). There is at present no handling in https://github.com/civicrm/civicrm-core/blob/master/CRM/Member/BAO/Membership.php#L2599 or https://github.com/civicrm/civicrm-core/blob/master/CRM/Dedupe/Merger.php#L385 https://github.com/civicrm/civicrm-core/blob/master/CRM/Dedupe/Merger.php#L427 which would cause the contribution recur information to be migrated across to the kept membership
cc @JoeMurray