Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-11959

Jolt spec in JoltTransformJson Disallows Single Line Comments

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.23.0
    • 2.0.0-M1, 1.24.0
    • None
    • None

    Description

      Since NiFi 1.23.0, it seems like comments are no longer supported in Jolt Spec (JoltTransformJson/JoltTransformRecord processors)

      This however seems something that was already supported at least the most wide spread jolt engine https://jolt-demo.appspot.com/#inception

      Reproducer :
      We can easily reproduce it by simply putting a jolt with a comment using either JoltTransformRecord or JoltTransformJson processors as both are impacted.

      Attachments

        1. jolt-issue.json
          35 kB
          Mahieddine Cherif
        2. Screenshot 2023-08-17 at 09.24.44-1.png
          274 kB
          Mahieddine Cherif

        Issue Links

          Activity

            People

              dstiegli1 Daniel Stieglitz
              mahieddine Mahieddine Cherif
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m