Closed (won't fix)
Project:
Webform CiviCRM Integration
Version:
7.x-2.x-dev
Component:
Webform/Drupal
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 May 2012 at 20:06 UTC
Updated:
27 May 2012 at 23:01 UTC
I had this working perfectly, C1 is individual, C2 is organization, and they have a relationship of employee to employer. c1 can edit 2, because they are a current employee - had this working on the webform.
then, after some staff added some civicrm field components and/or changed wordings of fields and/or unknown stuff, it stopped working. it prefills C1 data, but not C2.
I made a new webform and tested it, and it works for C1 and C2 with the same settings.
is there any way to debug this, could a field be "throwing" off my c2 auto-fill?
Comments
Comment #1
zkrebs commentedI found the problem - when I disabled this functionality, my form started autofilling just fine.
Is that the expected behavior, or a weird bug?
Comment #2
colemanw commentedIs the page break between the contacts?
Comment #3
zkrebs commentedYes it is, in this case.
Comment #4
colemanw commentedThat makes sense actually, because during save draft the contact ids get stored by this module. Because current employer is not actually set but only "sort of" set this would mess it up. In other words, saving the draft saves the empolyer id as 0 ('unknown') whereas before it was not set to anything and so would do the lookup.
Comment #5
zkrebs commentedAh..well, maybe we could just add this to documentation somewhere that its not currently supported as a feature? I don't need the auto-save, just thought it was cool.
Or I guess we could fix that?
Comment #6
colemanw commentedThe next version of this module will have an entirely different way of matching and autofilling contacts, so this should be moot.
Comment #7
colemanw commentedMarking as won't fix for 2.x branch. Should work fine in 3.x