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

Undefined property in CiviMail Report

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.29
    • Fix Version/s: None
    • Component/s: CiviMail
    • Labels:
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding
    • Verified?:
      Yes
    • Overview:
      Hide
      When examining a CiviMail Report, the following notice is displayed 

      Notice: Undefined property: CRM_Mailing_BAO_Mailing::$mailing_modified_date in /wp-content/plugins/civicrm/civicrm/CRM/Mailing/BAO/Mailing.php on line 1947

      The report still loads and appears to work fine.
      Running Civi 4.7.29 and WP 4.9.1
      Show
      When examining a CiviMail Report, the following notice is displayed  Notice: Undefined property: CRM_Mailing_BAO_Mailing::$mailing_modified_date in /wp-content/plugins/civicrm/civicrm/CRM/Mailing/BAO/Mailing.php on line 1947 The report still loads and appears to work fine. Running Civi 4.7.29 and WP 4.9.1
    • How it works currently:
      Hide
      Replicated on dmaster.demo.civicrm.org (running Civi 4.7.31 in Drupal)

      Notice: Undefined property: CRM_Mailing_BAO_Mailing::$mailing_modified_date in CRM_Mailing_BAO_Mailing::report() (line 1958 of /srv/buildkit/build/dmaster/sites/all/modules/civicrm/CRM/Mailing/BAO/Mailing.php).

      Steps to replicate:
      1. Create mailing and send mailing
      2. Go to the CiviMail Report for that mailing
      3. Undefined property notice appears at top of Civi page
      Show
      Replicated on dmaster.demo.civicrm.org (running Civi 4.7.31 in Drupal) Notice: Undefined property: CRM_Mailing_BAO_Mailing::$mailing_modified_date in CRM_Mailing_BAO_Mailing::report() (line 1958 of /srv/buildkit/build/dmaster/sites/all/modules/civicrm/CRM/Mailing/BAO/Mailing.php). Steps to replicate: 1. Create mailing and send mailing 2. Go to the CiviMail Report for that mailing 3. Undefined property notice appears at top of Civi page
    • How it should work:
      No notice of undefined property.
    • Acceptance Criteria:
      No notice of undefined property.

      Description

      When examining a CiviMail Report, the following notice is displayed 

      Notice: Undefined property: CRM_Mailing_BAO_Mailing::$mailing_modified_date in /wp-content/plugins/civicrm/civicrm/CRM/Mailing/BAO/Mailing.php on line 1947

      The report still loads and appears to work fine.

      Running Civi 4.7.29 and WP 4.9.1
      Replicated on dmaster.demo.civicrm.org (4.7.31 and Drupal) - See attachement

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kngs Karen Stevenson
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: