Steps to reproduce:

1) Edit any submitted webform as Admin by visiting URL: /admin/structure/webform/manage/your_webform/submission/4/edit
2) Do the changes and save the webform.
3) Notice that the changes are not reflecting in the form.
4) Click on the edit menu again (Eventually redirecting to same page).
5) Now the data starts showing up.

Alternate of step 4:

Clear the cache and notice the data starts showing up.

issue

The issue happens only when i am selecting confirmation type as Modal

modal submit

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Rohit Tiwari created an issue. See original summary.

Rohit Tiwari’s picture

Issue summary: View changes
Rohit Tiwari’s picture

Issue summary: View changes
FileSize
223.15 KB
jrockowitz’s picture

Status: Active » Postponed (maintainer needs more info)

I am not able to replicate this issue using the attached webform. Please provide the exact steps required to replicate this issue using an example webform.

Rohit Tiwari’s picture

I have created a video of the issue.
Hope this explains well.

Issue Video

Rohit Tiwari’s picture

Status: Postponed (maintainer needs more info) » Needs work
jrockowitz’s picture

Yep, I can replicate this when changing the contact form's confirmation to a modal.

jrockowitz’s picture

FileSize
2.56 KB

The attached patch starts to address this issue.

jrockowitz’s picture

FileSize
1.45 KB

Here is a cleaner patch.

jrockowitz’s picture

Status: Needs work » Needs review
FileSize
2.44 KB

Here is the right solution.

jrockowitz’s picture

The attached patch adds test coverage.

  • jrockowitz authored 6740564 on 8.x-5.x
    Issue #3109123 by jrockowitz, Rohit Tiwari: Editing the submitted...
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.