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

ASF subversion and git services commented on NIFI-11959:
--------------------------------------------------------

Commit b468d4f5af5bdd2b0ab9bbbd6cffe97b1ad59f8f in nifi's branch 
refs/heads/support/nifi-1.x from dan-s1
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=b468d4f5af ]

NIFI-11959 Corrected single-line comment handling for Jolt JSON

Added new lines back to the read in JSON spec to allow for single line comments 
to be parsed correctly and ignored.

This closes #7678

Signed-off-by: David Handermann <exceptionfact...@apache.org>
(cherry picked from commit 0280497c629538bdec8d9f06a3a68561d7a091ed)


> Jolt spec in JoltTransformJson processor no longer supporting text comments
> ---------------------------------------------------------------------------
>
>                 Key: NIFI-11959
>                 URL: https://issues.apache.org/jira/browse/NIFI-11959
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 1.23.0
>            Reporter: Mahieddine Cherif
>            Assignee: Daniel Stieglitz
>            Priority: Major
>         Attachments: Screenshot 2023-08-17 at 09.24.44-1.png, jolt-issue.json
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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.



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

Reply via email to