Uploaded image for project: 'Red Hat Build of Apache Camel for Quarkus'
  1. Red Hat Build of Apache Camel for Quarkus
  2. CEQ-3910

Repour commit breaks non-UTF-8 resources

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.2.0.GA
    • None
    • Camel Quarkus
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • 0

      Observed with tags 2.7.1.redhat-00016, 2.7.1.redhat-00015, 2.7.1.redhat-00011, 2.7.1.redhat-00010, 2.7.1.redhat-00003.

      This was not the case for any of the 2.2.1 tags.

      We have a couple of test resources which are intentionally encoded with charsets other than UTF-8:

      integration-tests/jsonpath/src/test/resources/booksUTF16BE.json
      integration-tests/jsonpath/src/test/resources/booksUTF16LE.json
      integration-tests/jsonpath/src/test/resources/germanbooks-iso-8859-1.json

      All of these are broken by the "Repour" commit - the same one that is tagged.

      It looks like some tool is trying to filter (read, replace something and write back) the files using UTF-8.

      This is a problem for product testing (QE should test the platform using test sources from a tag) rather than end users - so definitely not a blocker.
      QE can workaround it by checking out the commit before, where the issue does not occur.

      Any idea sghosh7 tcunning@redhat.com what is causing this and how to avoid it?

        1.
        Documentation Sub-task Closed Major Unassigned
        2.
        Productization Sub-task Closed Major Unassigned
        3.
        Review Test Sub-task Closed Major Unassigned
        4.
        Development Sub-task Closed Major Unassigned

            ppalaga Peter Palaga
            ppalaga Peter Palaga
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: