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

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

    [ https://issues.apache.org/jira/browse/NIFI-10196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17565110#comment-17565110 ] 

Matt Burgess commented on NIFI-10196:
-------------------------------------

I can't reproduce this issue on 1.16.2, I used the same spec and input on JoltTransformJSON's Advanced UI and it validated and saved successfully. Did anything else change about your environment besides the NiFi version, such as access to ports or HTTP paths or anything? Also if you know how to open Developer Tools in Chrome please provide any relevant information to the error, the request payload, etc.

> 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
>            Priority: Major
>
> 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)