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

nasty hard fail for invalid character (from MS Word html) in a CiviMail

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Duplicate
    • Affects Version/s: 4.6.14
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding

      Description

      Attempting to save a CiviMail with the following text results in a JS failure. We should fail much more gracefully if we can't cope.

      I have attached part of a long email generated in MS Word & copied to CiviMail. I narrowed it down to one line causing the fail. I have attached that line from the original MS Word document (saved as Open Office). If I copy & paste this line to a CiviMail it fails, generating a js error on any save actions - including autosave or attempting to send. It contains a control character.

      To replicate create a new CiviMail - paste from the attached file & attempt to send a test message.

        Attachments

        1. replicated character.odt
          10 kB
          Eileen McNaughton
        2. texteditor.jpg
          6 kB
          Eileen McNaughton

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                eileen Eileen McNaughton
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: