Problem/Motivation

After submitting, I see two php warnings in the recent log messages:

  1. Warning: Undefined array key "draft" in Drupal\webform_rest\Plugin\rest\resource\WebformSubmitResource->post() (line 99 of /var/www/html/web/modules/contrib/webform_rest/src/Plugin/rest/resource/WebformSubmitResource.php)
  2. Warning: Undefined array key "draft" in Drupal\webform_rest\Plugin\rest\resource\WebformSubmitResource->post() (line 108 of /var/www/html/web/modules/contrib/webform_rest/src/Plugin/rest/resource/WebformSubmitResource.php)
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rrrob created an issue. See original summary.

othermachines’s picture

We are also seeing this with 4.0.2.

Ranjit1032002 made their first commit to this issue’s fork.

Ranjit1032002’s picture

Status: Active » Needs review

Created MR!7 for the issue mentioned, please review.
Thank You.

othermachines’s picture

Thanks! I left a couple of comments on the merge request. At least I think I did. :) Not used to doing things that way so it's practice for me.

nsalves made their first commit to this issue’s fork.

nsalves’s picture

Looks good, commited! Thank you all

nsalves’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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