[GitHub] camel pull request #2518: changed csv unmarshalling to only strip quotes if ...
GitHub user jamesmurf opened a pull request:
changed csv unmarshalling to only strip quotes if quoting is set to "true"
When unmarshalling a tsv file where the individual fields are not quoted, the unmarshaller still tries to strip the quotes. For a field such as: , "Amazing" field, , the unmarshaller will see the first quote and try to strip it off expecting another quote at the end of the field. The end result is bindy unmarshaller completely fails for the whole record. The fix is to look at the "quoting" field and if qoutes are not expected, do not try to strip them.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jamesmurf/camel bugfix-csv-quotes
Alternatively you can review and apply these changes as the patch at:
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2518
Author: jamesmurf <jamesmurf@...>
changed csv unmarshalling to only strip quotes if quoting is set to "true" as this causes problems