Skip to content

empty columns are skipped #8

@rubenVerschueren

Description

@rubenVerschueren

When using the CSV importer, you need at least a space between two delimiters (for an empty column) otherwise that column is skipped and the next value is taken!

This is because in the mapper CSVDatamap, in the SplitString method where the current line is being split the stringsplitoptions are set to RemoveEmptyEntries. If you set them to none then empty columns are allowed.

I would suggest to make this at least an option in the import or change the code to none, because this can cause unexpected behavior.

as I side note, I forked this repository and (locally) added mappings for multilist, checkbox, ... as well as references to sitecore 8 kernel.
Now I just have to figure out, how to check this in to github :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions