You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Andre Araujo (Jira)" <ji...@apache.org> on 2022/07/06 00:36:00 UTC

[jira] [Created] (NIFI-10196) JoltTransformJSON fails to validate and save specs in 1.16.2

Andre Araujo created NIFI-10196:
-----------------------------------

             Summary: JoltTransformJSON fails to validate and save specs in 1.16.2
                 Key: NIFI-10196
                 URL: https://issues.apache.org/jira/browse/NIFI-10196
             Project: Apache NiFi
          Issue Type: Bug
    Affects Versions: 1.16.2
            Reporter: Andre Araujo


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:
{code}
[
  {
    "operation": "shift",
    "spec": {
      "*": "shifted_&"
    }
  }
]
{code}

Input:
{code}
{
  "a": 123
}
{code}




--
This message was sent by Atlassian Jira
(v8.20.10#820010)