Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-12264

The error summary column breaks the Mail Sending Status livetable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.4.4, 7.1.1
    • Fix Version/s: 8.1, 8.2-milestone-1, 7.4.4
    • Component/s: Mail
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      The error summary field on the Mail Status Sending livetable needs to be escaped. For example the following summary breaks the livetable due to the lack of Javascript encoding:

      'state' : "failed",
      'wiki' : "xwiki",
      'error' : "SMTPSendFailedException: 550 5.7.60 SMTP; Client does not have permissions to send as this sender
      ",
      'actions' : "<form action=\'\' enctype=\'multipart\/form-data\' method=\'post\'>\r\n<input name=\'mail_id\' value=\'00beae59-b4a9-4965-9be8-ce51ec5dbf19\' type=\'hidden\'\/>\r\n<input name=\'batch_id\' value=\'2283bf78-ccbe-4d85-8bed-701b762cc629\' type=\'hidden\'\/>\r\n<span class=\'btn-group text-left\'><input name=\'mailsendingaction_resend\' value=\'Resend\' class=\'btn btn-primary btn-sm\' type=\'submit\'>\r\n<\/span>\r\n<\/form>"
      }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                camil7 Clemens Robbenhaar
                Reporter:
                oana.tabaranu Elena-Oana Florea
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: