Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-14825

Bugfix for Bindy-Component

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.1.0
    • 3.2.0
    • camel-bindy
    • JDK: openjdk-8-jdk Version 8u242-b08-0ubuntu3~18.04 on Ubuntu 18.04 amd64

      The ICU4J library was used for processing Unicode correctly: See dependencies in POM

    • Moderate
    • Regression

    Description

      Hi, 

      unfortunately there is a bug in the code I donated for the Unicode support for the bindy component for fixed length files, which is not so obvious: The indexOf(..) method of Unicode Helper is returning the wrong index if the char searched for s also available as char with combining char. Sorry for that...

      Additionally I turned the the default value for countGrapheme in the FixedLengthRecord annoation, since it is more likely, that the way chars are counted is compatible to XMLSchema.

      See also: https://issues.apache.org/jira/browse/CAMEL-14521

      Pull request: https://github.com/apache/camel/pull/3702

      Michael

      Attachments

        Activity

          People

            Unassigned Unassigned
            greulich Michael Greulich
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified