Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

empty columns are skipped #8

Open
rubenVerschueren opened this issue Jan 23, 2015 · 1 comment
Open

empty columns are skipped #8

rubenVerschueren opened this issue Jan 23, 2015 · 1 comment

Comments

@rubenVerschueren
Copy link
Contributor

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 :)

@rubenVerschueren
Copy link
Contributor Author

Fix can be found in my pull request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant