Drupal Association members fund grants that make connections all over the world.
Original report by anjjriit
7.x-1.0-dev version give an error when i used "list(text)" as an fieldtype and "Autocomplete for allowed values list" widget and "Allowed values PHP code" for select list.
Its always return zero ('0') value.
Issue originally reported here http://drupal.org/node/1516182#comment-6076986 at the end of an unrelated issue that was already closed.
I'm getting similar results with 7.x-1.x-dev ( 2012-Sep-27 ). I've tried both a static value list:
1|Thing 1 2|Thing 2
And a php based on the sample code given:
return array( 1 => 'label_1', 2 => 'label_2' );