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

Contacts preferred_mail_format can't be NULL

    Details

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

      Description

      See http://civicrm.stackexchange.com/a/15965/104.

      I'm not enterely sure but I think that due last solved issues (CRM-18157, CRM-19135, CRM-19442, CRM-19423) the following sql needs to be added to the upgrade script one more time.

      UPDATE `civicrm_contact` SET `preferred_mail_format` = 'Both' WHERE `preferred_mail_format` IS NULL;

        Attachments

          Activity

            People

            • Assignee:
              yashodha Yashodha Chaku
              Reporter:
              francescbassas Francesc Bassas i Bullich
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: