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

Once "multiple bulk" setting, cannot search for opt out or on hold contacts

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.13
    • Fix Version/s: 5.9
    • Component/s: CiviMail
    • Labels:
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding
    • Verified?:
      No

      Description

      First ensure that the setting "Enable multiple bulk email address for a contact." is on at civicrm/admin/setting/preferences/mailing?reset=1

      This settings places a single email on "opt out", no longer the entire contact is on "opt out". (see opt-out2.png).

      However, this presents problems with searching, this contact, once an email is 'on hold opt out':

      1. no longer shows up when searching for 'on hold'

      2. no longer when searching for 'opt out'

      I think the problem is that civicrm_email.on_hold has possible 3 values when this setting is applied: 0, 1, 2. The searches, however, are boolean and do not return emails where on_hold=2.

      (attached illustrations)

        Attachments

        1. on-hold-3.png
          41 kB
          Stoob
        2. on-hold-4.png
          43 kB
          Stoob
        3. on-hold5.png
          37 kB
          Stoob
        4. onhold-civi.png
          106 kB
          Stoob
        5. onhold-civi2.png
          84 kB
          Stoob
        6. opt-out.png
          23 kB
          Stoob

          Activity

            People

            • Assignee:
              allenshaw Allen Shaw
              Reporter:
              stoob Stoob
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: