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

Issue with blank cells in data import #12

Open
brendanmeyer opened this issue Sep 18, 2024 · 1 comment
Open

Issue with blank cells in data import #12

brendanmeyer opened this issue Sep 18, 2024 · 1 comment

Comments

@brendanmeyer
Copy link

Hey

There is an issue where blank cells are not handled.
The instance I had was there the field was an integer, and the import tool expected an integer, but the cell was empty.

I modified the following line to handle blank integer cells
Line 1057
from
if (cellValue == null || xlRange[1, iCol].value == "")
to
if (cellValue == null || (cellValue is string && String.Compare(cellValue, "") == 0) || xlRange[1, iCol].value == "")

@jionnyMagiah
Copy link

jionnyMagiah commented Nov 21, 2024

I'm facing this issue also with lookup fields. I get this error message

Something went wrong while fetching record for lookup: [field_name].  Record will not be imported. 
EXCEPTION MESSAGE: The ConditonOperator.Equal requires 1 value/s, not 0. Parameter Name: [parameter__name]

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