I imported multiple XLS files today with the new version 7.x-2.1.

Noticed that on files with more than 19 rows (not including the header), only 19 rows were imported.

Tried the same files as CSV files and all rows were successfully imported.

Work around: split the XLS files into multiple files with 19 or less rows.

Both the XLS and CSV importers are attached in text files.

Comments

jaredcampbell created an issue. See original summary.

aolaze’s picture

I have same problem,but i set to 200 rows on Settings for Excel parser.

sosyuki’s picture

But if sheet more than 200 rows.Set to 200 rows also don't import 200+ data.

mrromios’s picture

Can you send screenshot of you settings?

jaredcampbell’s picture

StatusFileSize
new33.34 KB
new25.48 KB
new22.29 KB
new29.29 KB
new24.37 KB
new26.97 KB
new40.31 KB

I didn't include the author user name or the mapping settings. Would prefer not to post user and database information. If that's required, then I'd be willing to share directly via email.

mrromios’s picture

And with this settings ExcelParser parses only 200 rows?

sosyuki’s picture

My settings and node data.

jaredcampbell’s picture

With my settings, only 19 rows are parsed. XLS files with fewer than 19 rows are processed without a problem. More than 19 rows, nothing is processed beyond row 19.

sosyuki’s picture

StatusFileSize
new3.22 KB
new112.5 KB

This bug patch.

jerry’s picture

Status: Active » Needs review

The patch in #9 works for me. Thanks!

jaredcampbell’s picture

Sorry for the delay in testing this...

Patch #9 worked in our testing environment. Moving over to production and will test again next week.

jaredcampbell’s picture

We've had Patch #9 in production for a few weeks now and everything seems to be working.

Have imported upwards of 35 rows at a time without problem.

Thanks for the fix!

Alexandre360’s picture

Priority: Normal » Critical
Status: Needs review » Reviewed & tested by the community

Hello,

I had a excel with more than 20k rows and, before this patch, the import stopped after 3000 rows. Applied the patch and it works.

Seems critical to me as it's a bug that can have a big impact on business if you don't notice that your import stopped...

sinasalek’s picture

StatusFileSize
new3.04 KB

Fix #9 works, however the patch does not apply due to formatting issue. also it contains some unused codes and comments as well
Here is the cleaned up version.

sinasalek’s picture

StatusFileSize
new2.82 KB

Line ending and path correction

mrromios’s picture

Hi guys!
Sorry that didn't have a time to check it.
This patch works, but it is not very good solution for performance - you just run looping of all rows to find total.
I will check it right now and push fixes.
Thanks

mrromios’s picture

As expected, it was issue with pointers. So, fixed now. Welcome to test new release!!!

mrromios’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

sinasalek’s picture