Closed (fixed)
Project:
Webform UUID
Version:
7.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Feb 2016 at 20:04 UTC
Updated:
7 Mar 2016 at 20:14 UTC
Jump to comment: Most recent
Because this module replaces $entity->webform['nid'] with the node uuid, this is also the nid value that is stored when saving a submission and submission data.
Because nid is a int field, the value is truncated to the first numbers of the uuid. While that might be enough to keep them unique, it does mean submissions don't show up on the submissions page (unless you're lucky and the truncated uuid matches the node id.
Attached is a patch that resets the nid value for submissions with the same technique used in webform_entity_uuid_presave.
| Comment | File | Size | Author |
|---|---|---|---|
| fix_submission_uuid.patch | 872 bytes | Kaz de Groot |
Comments
Comment #2
crystaldawn commentedSeems like a logic fix. I've added this to 1.2 and queued it for release.