Closed (fixed)
Project:
Content Construction Kit (CCK)
Version:
6.x-1.x-dev
Component:
optionwidgets.module
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Sep 2006 at 14:21 UTC
Updated:
31 Oct 2006 at 15:31 UTC
Comments
Comment #1
killes@www.drop.org commentedwas wrong module
Comment #2
karens commentedFixed in latest commit. I decided the best option was to store meaningful option keys that won't break if option list is altered by using drupal_map_assoc() on the option list. This way an option list for a number field like 10, 15, 20 will store those values instead of 1, 2, 3 and and option list for a text field like 'First', 'Second', and 'Third' will store those values in the text field.
Comment #3
karens commentedHmm, maybe not. It was already storing the array index as the value but that wasn't working reliably since the index value can change, but my new method doesn't really address what you were saying either. The better solution is probably something like what is discussed at http://drupal.org/node/89172. This needs more investigation, which could be discussed more in that thread.
Comment #4
(not verified) commented