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

"Column match with this Column name and Import setting already exists." #30

Open
smcoll opened this issue Sep 23, 2014 · 2 comments
Open

Comments

@smcoll
Copy link
Contributor

smcoll commented Sep 23, 2014

After a failed import (column match), subsequent attempts fail with the error "Column match with this Column name and Import setting already exists" on several fields. i'm not sure yet which fields they pertain to, as they all look like this:

<ul class="errorlist">
    <li>__all__
        <ul class="errorlist">
            <li>Column match with this Column name and Import setting already exists.</li>
        </ul>
    </li>
</ul>
@smcoll
Copy link
Contributor Author

smcoll commented Sep 23, 2014

Found a clue, while trying to discover why some columns weren't importing: In the simple_import_columnmatch table, i have duplicate records for a few columns. These columns happen to have newline characters in their column_name value. So for every record with a column_name having a newline character, there is another record for a column_name without the newline character, but missing the "field_name" value. Otherwise, the records are the same. On import, those records without the newline character are being used, and no data is being imported for those columns because they don't have a field_name value. For now, i'll just modify the column headers, but perhaps we could have a test for this case.

@bufke
Copy link
Member

bufke commented Sep 23, 2014

Thanks for these reports @smcoll

I'm stupidly busy right now. If you can post some solutions I could review though.

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

2 participants