On my Drupal 6 site I have several Select list: Allowed values list: Integer with 3 diff. values like this

|
1|Ja
0|Nej
2|Ved ikke 

In Views file can be downloaded and the fields show with 3 diff fields as - Ja - Nej - Ved ikke - so far so good but when I import to another Drupal 6 site the data doesn't show correct. ALL the fields show "Nej".

|
handicap|Handicap
pissoir|Pissoir
unisex|Unisex

I have the same problem.

If I in CSV change manually Ja, Nej, Ved ikke to 1, 0, 2 AND Handicap, Pissoir, Unisex to handicap, pissoir, unisex it's functioning.

It looks like Importer takes the info to the left of | (key) instead of info to the right (value). Is this as it's supposed to be and if yes can I change this in the code in module so I don't have to change it manually in CSV-file?

Have been using weeks to solve this but can't figure out where in Tamper I should change something and to what. Don't code in php so hard for me to solve. Hope someone could help me please?

Started posting https://drupal.org/node/2246269 before I read about Tamper.

Mvh
Tine

Edited: 24.4. - 08:32
Edited: 24.4. - 13:43

Comments

tinem’s picture

Category: Support request » Bug report
Priority: Normal » Critical
tinem’s picture

Issue summary: View changes
tinem’s picture

Issue summary: View changes
tinem’s picture

Don't think it's possible? And if so please just tell me.

Have found this discussions Allowed Values mapping - Check source values against allowed values (both values and keys) but it's for 7 but there they also have the same problem https://drupal.org/node/2006810 as I read it, right?

twistor’s picture

Version: 6.x-1.0-beta4 » 6.x-1.x-dev
Category: Bug report » Feature request
Priority: Critical » Normal
Status: Active » Closed (duplicate)