Uploaded image for project: 'Red Hat build of Apache Camel'
  1. Red Hat build of Apache Camel
  2. RHBAC-152

Camel-bindy does not treat escaped double quotes in CSV data

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 4.10.GA
    • 4.8.GA
    • Camel Core
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      Camel-bindy does not treat escaped double quotes in CSV data.

      [Input Data]
      "a,""b"",c,d",e,f
      // Please note that the escaped double quotes" " are used.

      [Expected Result]
      MyModel

      {columnA='a,"b",c,d', columnB='e', columnC='f', columnD='null', columnE='null', columnF='null'}

      [Actual Result]
      MyModel

      {columnA='a,"b"', columnB='c', columnC='d', columnD='e', columnE='f', columnF='null'}

      CSB based reproducer is attached.

              janstey@redhat.com Jonathan Anstey
              rhn-support-hfuruich Hisao Furuichi
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: