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

JoltTransformJSON fails to validate and save specs in 1.16.2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.16.0, 1.16.2
    • 1.17.0
    • None
    • None

    Description

      In NiFi 1.16.2 something seems to have been broken in the JoltTransformJSON processor.

      When I go to the ADVANCED page in the processor properties and enter a valid spec and input, the processor fails to validate them correctly, showing "Error occurred during validation". If I try to save it, I get "Error occurred during save properties".

      I tried the same spec and input in a 1.15.3 and the same worked correctly.

      Spec:

      [
        {
          "operation": "shift",
          "spec": {
            "*": "shifted_&"
          }
        }
      ]
      

      Input:

      {
        "a": 123
      }
      

      Attachments

        Issue Links

          Activity

            People

              exceptionfactory David Handermann
              asdaraujo Andre Araujo
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 0.5h
                  0.5h