Closed (fixed)
Project:
Webform CiviCRM Integration
Version:
6.x-2.3
Component:
Webform/Drupal
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
15 Feb 2012 at 10:10 UTC
Updated:
4 Mar 2012 at 05:30 UTC
When we use uc_webform_pane to integrate with webform_civicrm, we can't load data from logged user successfully at ubercart checkout page.
After looked into the code, we found this empty check may conflit with ubercart.
This line at function _webform_civicrm_webform_frontend_form_alter of webform_civicrm_forms.inc
// If this is an edit op, use the original IDs and return
if (!empty($form['#submission'])) {
should be modify to below to prevent conflit.
// If this is an edit op, use the original IDs and return
if (!empty($form['#submission']->sid)) {
This code still at our beta website, need more review and test.
Comments
Comment #1
jimyhuang commentedJust a note, full support of uc_webform_pane, need to apply this patch. But that's uc_webform_pane's issue.
http://drupal.org/node/1440778
Comment #2
colemanw commentedI have applied the change. Thanks for looking into it and coming up with a solution.
Comment #3
colemanw commented