Hi All,

I've got several custom content types in Drupal 6 with type "Text" and "Check boxes/radio buttons" for the widget type. This allows you to create a radio button list of options, and the user selects the appropriate option.

Upon upgrading to Drupal 7, these fields were converted to type "List (text)". This seems to have worked fine for all the existing content, but I tried creating some new content that uses the new "List (text)" fields, and on the node display page, instead of the label for the option selected, I get the numeric value. My "List (text)" options are setup something like this:

0|Support
1|Neutral
2|Oppose

The number is the value, and the word after the pipe is the label. What is supposed to happen (and happens for all previous content) is that the selected label appears.

But what is happening for all new content is that the value, the number 0, 1, or 2, is displayed.

I tried creating a new content type, with a new "List (text)" field, and it works fine. On the node display page, the value seen by the end user is the label, not the value.

I compared my new field (that shows the value, as expected) and my old field (that shows the value, not the label) side by side. They are completely identical.

So something happened during the migration of the field from a D6 CCK "Text" field to a D7 "List (text)" field that appears to have messed it up, but not in a way that is apparent through the Drupal Fields UI.

Suggestions? What's the appropriate place to report this issue? It's not really a fields issue, since a newly created field seems to work. Where do issues with the D7 field migration go?

-Josh

Comments

jbeall’s picture

jbeall’s picture

I posted about a possible fix here:
http://drupal.org/node/1285486#comment-5868832

Note that this doesn't fix the broken migration process, but it may fix the mangled fields after migration.

-Josh