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

Not all field are parsed in an csv file. #29

Closed
JacekMarcinJ opened this issue Feb 23, 2017 · 5 comments
Closed

Not all field are parsed in an csv file. #29

JacekMarcinJ opened this issue Feb 23, 2017 · 5 comments

Comments

@JacekMarcinJ
Copy link

Hello!

I have big csv file: I have 31 headers and 31 fields in each row below headers. Bug is in first row of my table:
Headers:
"cNumer","Data","NazwaS","Szablon","MagDest","MagW","MagP1","MagP2","RRuch","Zlec","CreUser_","CreTime","ModUser_","ModTime","DataOC","NumerFakt","Opis","SumWart","SumWartW","id_transp","PrzewNs","CzyOpakZ","opakdo","DokMId1","DokMId2","KontrId1","KontrId2","cLista_DokH","_checked","przewoznikKontrId1","przewoznikKontrId2"

First row:
"PR/3/15","2015-07-22 14:17:53.650","IKEA-125-STO","_WZ","(brak)","OCI��","Kntr_IKEA125STO","(brak)","OCIAZ",,"i.kret","2015-07-22 14:17:53.650","i.kret","2015-07-22 14:19:29.402",,,"",,,"","","NIE",0,1,1586989,1,7090,"",0,,

You will notice that last two fields are empty. But QtCsv threats them as one! I have serious errors in my program just because this bug! Please fix this as soon as possible.

thanks and best regards
Jacek

@JacekMarcinJ
Copy link
Author

Is it very difficult fix this typo?!?

@iamantony
Copy link
Owner

iamantony commented Feb 28, 2017

Hi. Sorry for no response.
I think I have found an error. Today I will test my solution and if all will be fine, tomorrow you will see changes in master branch.

@iamantony
Copy link
Owner

iamantony commented Mar 1, 2017

@JacekMarcinJ please test qtcsv with latest commit (160ea0f) in master branch

@JacekMarcinJ
Copy link
Author

Now it works! Thanks!

@iamantony
Copy link
Owner

Thank you for this bug)

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