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

Uploading content for mailing results in empty message text and subject line

    Details

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

      Description

      I'm creating a new mailing, and on step 3 I want to load an html file for the for the Content

      After browsing and selecting my html file, and hitting next to go to step 4 I see the following errors in the Drupal log:
      1. a php notice:
      Notice: Trying to get property of non-object in CRM_Mailing_Form_Test->buildQuickForm() (line 169 of path/to/modules/civicrm/CRM/Mailing/Form/Test.php).
      2.a civicrm debug message:
      CiviMail will not send an empty mail body,

      Previewing the message shows a completely blank are except

      Subject:

      even though I set the subject field

      Neither HTML nor plain text files will give data. The file must be loaded because if you try to use a file without the unsubscribe tokens then you get a form error.

      can replicate on CiviCRM demo site 4.4

      http://drupal.demo.civicrm.org/

      1. Create new mailing
      2. Go through steps 1 and 2, whatever settings
      3. Step 3 Select I want to Upload Content
      4 Try to upload either a text or html file
      5 Hit next – will get previously mentioned errors in log
      6. Preview will be blank

        Attachments

          Activity

            People

            • Assignee:
              gautam.buddadev Gautam Buddadev
              Reporter:
              jackrabbithanna Mark Hanna
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: