Civi 4.7.27
I use extensively Webform Integration to register Memberships.
In certain cases, memberships are not recorded, though no error message is displayed and Webform Mails are sent (and received).
After further investigation it appears that :
The problem occurs when you define a Membership custom multi-valued field, even if you specify it as "non required", both in its definition and in the Webform :
If you don't specify at least one value in the Webform, the membership will not be recorded : this means that you have to define this field as required in the webform if you don't want to have the problem.
From my point of view, this is only a partial answer : this issue should be answered :
either, at least, by a message which tells that the membership will not be recorded, due to ...
or by recording the membership, even with this field empty,
or by locking this field as required in the webform,
or ...
Comments
Comment #2
jmmoranne CreditAttribution: jmmoranne commentedPS : I filled the "Assigned" field with my pseudo (because it is mandatory to fill it), but I am not a programmer, and am quite unable to fix that myself
Comment #3
jmmoranne CreditAttribution: jmmoranne commentedAfter further investigation I have edited the issue summary
Comment #4
petednz CreditAttribution: petednz commentedTo avoid misunderstanding, by "Membership custom multi-valued field" do you mean a field offering Apple, Banana, Orange?
Comment #5
colemanw CreditAttribution: colemanw commentedThat's a good question Pete.
@jmmoranne the more detailed you can be in your report, the better the chance this bug will be fixed. Can you give steps to reproduce this on a fresh install of Drupal, Webform & CiviCRM?
Comment #6
mpaulson CreditAttribution: mpaulson commentedThis issue was filed against a branch (7.x-4.x) that is no longer supported. We're sorry we did not get to work through it, but once you upgrade to 7.x-5.x and if the issue persists, please feel free to re-open.