Closed (fixed)
Project:
Webform
Version:
7.x-4.0-rc4
Component:
Documentation
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
15 Jul 2014 at 16:18 UTC
Updated:
5 Aug 2014 at 11:10 UTC
Jump to comment: Most recent
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
Comment #1
danchadwick commentedI 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,
20152014 to the 7.x-4.x branch.Please do go ahead and edit the handbook to help others.
Comment #2
firfin commentedFeb 15, 2014 you mean right? ;-)
So it would be part of the RC1 release onwards?
Updated the handbook page.
Comment #3
danchadwick commented