Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-11140

contact merge: communication preferences broken

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.2.4
    • Fix Version/s: 4.2.5
    • Component/s: Core CiviCRM
    • Labels:

      Description

      when merging two contacts, communication preferences are not handled correctly.
      patch attached.

      Deepak – you should review. there are two issues –
      we revert to the original array instead of the concatenated list of preferences constructed earlier when we pass the value. and secondly, the use of CRM_Core_OptionGroup::lookupValues strips the leading/trailing VALUE_SEPARATOR, so we need to re-add it. it probably makes sense to just remove the inclusion of those earlier so that it only is added once.

        Attachments

          Activity

            People

            • Assignee:
              deepak Deepak Srivastava
              Reporter:
              lcdweb Brian Shaughnessy
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: