I reproduced the issue on simplytest.me (https://simplytest.me/project/webform)

  • on /admin/structure/webform/config/elements set the 'Text format' to 'Basic HTML'
  • on /admin/structure/webform/config/advanced disabled the dialogs (not exactly sure if relevant, but no dialog forces page-reload on submit)
  • on /admin/structure/webform/manage/contact/handlers/email_notification/edit
  • select 'Custom subject' and leave it empty to force a validation error
  • select 'Custom body' and type something
  • Save
  • The body contents has now been replaced with 'Array'

Without a validation-error, the body contents is saved just fine.

CommentFileSizeAuthor
#2 2939788-2.patch1.12 KBjrockowitz
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

SpadXIII created an issue. See original summary.

jrockowitz’s picture

Status: Active » Needs review
FileSize
1.12 KB

Good catch! Thank you for including the exact steps required to reproduce this issue.

  • jrockowitz committed ad862b9 on 8.x-5.x
    Issue #2939788 by jrockowitz: Custom email body replaced with "Array" on...
jrockowitz’s picture

Status: Needs review » Fixed

I committed the patch. Please download the latest dev release to review.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.