Create a 2 page form. Set it to save drafts when moving between pages. Go to the second page. Delete the draft. Go to the previous page. You will get a whitescreen, "Fatal error: Unsupported operand types" because webform_client_form_submit() is trying to use the + operator between the submitted data array and non-existent $submission->data.

Comments

liam morland’s picture

Status: Active » Needs review
StatusFileSize
new1.74 KB
danchadwick’s picture

Priority: Normal » Minor
Status: Needs review » Fixed

Weird case, but great patch. Thanks. Committed to 7.x-4.x and 8.x.

Status: Fixed » Needs work

The last submitted patch, 1: webform-unsupported_operand-2320805-1.patch, failed testing.

danchadwick’s picture

Status: Needs work » Fixed

Testbot error.

Status: Fixed » Closed (fixed)

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