I upgraded webform conditional to realase 7.x-1.12 from 7.x-1.11
All the webforms in the site with a conditional statement give a blank page after submit.
I think the problem could be in the webform_validation.module; changing it with the early version (7.x-1.11) all the webforms go back to work

Comments

paolo888 created an issue. See original summary.

liam morland’s picture

Do you mean that you upgraded webform_validation? Please provide steps to reproduce the problem. Is there any PHP error? Normally, a white screen means there is a PHP error and they are set to be hidden.

karlshea’s picture

I'm having the same problem after upgrading. It looks like webform_get_conditional_sorter() is getting called on line 163, and that function isn't defined in Webform 3.x.

liam morland’s picture

webform_get_conditional_sorter() has been part of webform_validation since 7.x-1.10-rc1 (commit 98757f4). Webform 3.x is no longer supported.

@paolo888: What version of Webform are you using?

liam morland’s picture

Sorry, I see the problem. There is capabilities checking which made things compatible with both 3.x and 4.x. Commit be7a712 moved the call to webform_get_conditional_sorter() outside of this check, thus breaking 3.x compatibility in 1.12-rc1.

I suggest staying on 7.x-1.11. I may remove the 3.x compatibility altogether.

liam morland’s picture

Title: webform validation not working - after submit page blank » Incompatible with Webform 3.x due to webform_get_conditional_sorter() call
liam morland’s picture

Title: Incompatible with Webform 3.x due to webform_get_conditional_sorter() call » Incompatible with Webform < 7.x-4.6 due to webform_get_conditional_sorter() call
paolo888’s picture

@Liam Morland: sorry for the late answer, the web form version was 7.x-3.25.

liam morland’s picture

Assigned: Unassigned » liam morland
Status: Active » Fixed

Please give it a try in Webform 3.x and confirm here that it is working for you.

karlshea’s picture

Works for me in 3.x, thank you!

liam morland’s picture

liam morland’s picture

paolo888’s picture

Works for me in 3.25, thank you!

afireintheattic’s picture

Patch worked on 3.25 for me as well -- thanks, Liam!

Status: Fixed » Closed (fixed)

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