Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
After submitting, I see two php warnings in the recent log messages:
- 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)
- 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)
Issue fork webform_rest-3355434
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:
Comments
Comment #2
othermachines CreditAttribution: othermachines commentedWe are also seeing this with 4.0.2.
Comment #5
Ranjit1032002Created MR!7 for the issue mentioned, please review.
Thank You.
Comment #6
othermachines CreditAttribution: othermachines commentedThanks! 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.
Comment #9
nsalves CreditAttribution: nsalves at NTT DATA commentedLooks good, commited! Thank you all
Comment #10
nsalves CreditAttribution: nsalves at NTT DATA commented