A newly created webform_submission_entity isn't properly saved by entity_save(). This is because webform does not actually write a record if the "is_new" field is set on a submission.

Patch to follow is a quick fix with an illustrative test case.

CommentFileSizeAuthor
#1 2079813-webform_entity-is-new.patch4.96 KBwodenx
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

wodenx’s picture

Status: Active » Needs review
FileSize
4.96 KB

  • wodenx authored 5b7d0e2 on 7.x-1.x
    Issue #2079813 by wodenx: webform submission entity not saved properly
    
AaronBauman’s picture

Issue summary: View changes
Status: Needs review » Fixed

committed

Status: Fixed » Closed (fixed)

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