I have a content type "Car". The fields are "Title", "Body" and "Gearbox". The "field type" of the field "Gearbox" is "List (integer)", and the "Allowed values list" for this field (in the "key|label" format) are:
1|manual 2|automatic 3|semiautomatic
I want to import content from a CSV file using a standard node import with Feeds. My CSV is as follows
GUID,Title,Body,Gearbox 1,Lexus NX,blabla,automatic 2,Porsche Cayenne,bloblo,manual
On importing this CSV file, the value for "Gearbox" is not copied over. Instead, it appears as empty in the content. If I replace the values for "Gearbox" by their keys, as in this modified CSV file
GUID,Title,Body,Gearbox 1,Lexus NX,blabla,2 2,Porsche Cayenne,bloblo,1
then it works correctly.
Nevertheless, I'm not the end user and I need to leave the CSV file in its more human-friendly form that uses the "labels" instead of the "keys" (as in the original CSV above).
How can I do this? I.e. how can I have the import recognize the labels "manual", "automatic", etc instead of their corresponding keys?