[
https://issues.apache.org/jira/browse/NIFI-11959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17763732#comment-17763732
]
Daniel Stieglitz edited comment on NIFI-11959 at 9/11/23 2:44 PM:
------------------------------------------------------------------
[~mahieddine] I see you are using single line ('//') comment.
{code:java}
// Defaut all{code}
I noticed the problem seems to be only with single line comment while with a
multiline comment there is no issue.
was (Author: JIRAUSER294662):
[~mahieddine] What type of comment are using single line ('//') or multiline
('/**/') ? I noticed the problem seems to be only with single line comment
while with a multiline comment there is no issue.
> 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
>
>
> 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)