[
https://issues.apache.org/jira/browse/NIFI-2310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15383352#comment-15383352
]
ASF GitHub Bot commented on NIFI-2310:
--------------------------------------
GitHub user YolandaMDavis opened a pull request:
https://github.com/apache/nifi/pull/674
NIFI-2310 - Shiftr Transform in JoltTransformJSON Processor Does Not
Support Escaping Special Characters
upgrade Jolt version to 0.0.21 which resolved issue.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/YolandaMDavis/nifi NIFI-2310
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/674.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #674
----
commit 861f728927628da2f5d8245f0d2c5ba259617ab1
Author: Yolanda M. Davis <[email protected]>
Date: 2016-07-19T00:09:09Z
NIFI-2310 - upgraded jolt to 0.0.21 to resolve special character issue
----
> Shiftr Transform in JoltTransformJSON Processor Does Not Support Escaping
> Special Characters
> --------------------------------------------------------------------------------------------
>
> Key: NIFI-2310
> URL: https://issues.apache.org/jira/browse/NIFI-2310
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 1.0.0
> Reporter: Yolanda M. Davis
> Assignee: Yolanda M. Davis
> Fix For: 1.0.0
>
>
> The following jolt spec failed to pass the validation check in
> JoltTransformJSON:
> {
> "\\@context": {
> "name": "&1.Name",
> "ingredient": "&1.Inputs",
> "yield": "\\@context.Makes",
> "*": "&1.&"
> },
> "name": "Name",
> "ingredient": "Inputs",
> "yield": "Makes",
> "*": "&"
> }
> The reason is the double backslash to escape '@' which should be supported to
> identify literal characters.
> Upgrading to Jolt version 0.0.21 should resolve this problem since it was
> fixed in that release.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)