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

Warning When Email Address for Test Mailing Doesn't Exist in the DB

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 1.9
    • Fix Version/s: 1.9
    • Component/s: CiviMail
    • Labels:
      None

      Description

      The code which is supposed to handle the case when the user enters a "new" email address for the "Sent Test Email to this Address" field throws an error if that email address doesn't exist in the DB (it still "worked" - added the new address to my logged in user's primary location):
      -----------------------

      • warning: Missing argument 2 for CRM_Core_DAO::executeQuery(), called in /Users/dgg/svn/crm_v1.9/CRM/Mailing/BAO/Mailing.php on line 700 and defined in /Users/dgg/svn/crm_v1.9/CRM/Core/DAO.php on line 656.
      • warning: Invalid argument supplied for foreach() in /Users/dgg/svn/crm_v1.9/CRM/Core/DAO.php on line 696.
        -----------------------

        Attachments

          Activity

            People

            • Assignee:
              shailesh Shailesh Lende
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: