I would like to import a CSV that has a lot of 'holes' in its data. For those holes, I want to simply use the default values I setup for each field in CCK. However, this doesn't seem to work. The field is created empty during import. Should it be filling with the default value? If so, this doesn't seem to be the case. If not, then please change this to a feature request.

Comments

Robrecht Jacques’s picture

It should use the default value, so it is a bug.

What CCK fields are you using?

rconstantine’s picture

The problem ones are just the standard cck text fields with 'allowed values' and a 'default value' from that list set. For example, I have several fields with 'No' and 'Yes' as allowed, and with 'Yes' set as the default. The spreadsheet has blanks, so I'd expect the node to fill in with 'Yes'.

barkam’s picture

try to set text processing to 'Plain text' (field settings) before import

rconstantine’s picture

i'll try.