The excellent upgrade 3 to 4 page contains a lot of useful info. But there seems to be one part missing. The callback function for hook_webform_select_options_info() seems to have had an API change. for example
Old:
webform_options_days($component, $flat, $filter, $arguments)

New:
webform_options_days($component, $flat, $arguments)

I am not sure if this change occurred on the change from 3 to 4 but it cost me quite some time to figure out why my pre-built selection were not working anymore after the upgrade. Maybe this should be mentioned on the upgrade handbook page?

Comments

danchadwick’s picture

Category: Bug report » Task

I looked through the git history and this was changed in #2064851: Node tokens should be available in select component option labels as part of adding node tokens to select component option labels on Feb 15, 2015 2014 to the 7.x-4.x branch.

Please do go ahead and edit the handbook to help others.

firfin’s picture

Assigned: Unassigned » firfin
Status: Active » Needs review

Feb 15, 2014 you mean right? ;-)
So it would be part of the RC1 release onwards?

Updated the handbook page.

danchadwick’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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