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

Contact :: New Email/SMS : loading failed when no contact is found

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.10, 4.7.29
    • Fix Version/s: 4.7.31
    • Component/s: None
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code
    • Verified?:
      No

      Description

      When no result is found when searching for a contact to be mailed a red 'loading failed' message is shown instead of saying that no result was found.

      Additionally a notice shows up in the log:

      Notice: Undefined variable: result in CRM_Contact_Page_AJAX::getContactEmail() (line 446 of /var/www/drupal/sites/all/modules/civicrm/CRM/Contact/Page/AJAX.php).

      The same applies to sending a SMS via the Outbound SMS action.

        Attachments

        1. After_Email_No_Results.png
          13 kB
          Thomas Schüttler
        2. Before_Email_Loading_Failed.png
          9 kB
          Thomas Schüttler
        3. Before_SMS_Loading_Failed.png
          9 kB
          Thomas Schüttler

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tschuettler Thomas Schüttler
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: