Due to the unreviewed patch #12 in #2857622: Address required does not respect webform conditionals being immediately committed before review, various issues fixed in previous patches were reintroduced and have made it into a new release.

The address component is therefor again checking the requiredness of components, which obviously should have always been a task of webform and is the same reason why that issue was created in the first place. But that issue is closed and I can't reopen it so this issue is for fixing the issues created in that issue.

Comments

paulvandenburg created an issue. See original summary.

paulvandenburg’s picture

Status: Active » Needs review
StatusFileSize
new11.01 KB

This patch restores previous fixes and a little clean up.

paulvandenburg’s picture

Issue summary: View changes
askibinski’s picture

Status: Needs review » Reviewed & tested by the community

Tested with the usecase in #2857622: Address required does not respect webform conditionals and code also looks good.

ralphvdhoudt’s picture

Status: Reviewed & tested by the community » Needs work

Patch doesn't apply anymore to the current dev version. Is it still needed? How can it be reproduced?

joshahubbers’s picture

The patch is still needed. "Required" validation should be done by webform, not by this module. Other validations should be ok...
I updated the patch for the current dev version...

joshahubbers’s picture

joshahubbers’s picture

StatusFileSize
new4.03 KB

New patch, just removes the "required" parameter from the validation functions...

ralphvdhoudt’s picture

Status: Needs work » Fixed

Works as expected

Status: Fixed » Closed (fixed)

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