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

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

Commit 67880765365e033d0d772f5c7b5c2e2186a1086c in nifi's branch 
refs/heads/main from Gabor Gyimesi
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=6788076 ]

NIFI-9058 Corrected AttributesToJSON Core Attributes filtering

- Avoiding filtering Core Attributes from configured Attributes List

This closes #5312

Signed-off-by: David Handermann <[email protected]>


> AttributesToJSON filters out core attributes specified in attributes list 
> --------------------------------------------------------------------------
>
>                 Key: NIFI-9058
>                 URL: https://issues.apache.org/jira/browse/NIFI-9058
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Gábor Gyimesi
>            Assignee: Gábor Gyimesi
>            Priority: Minor
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> Currently "Include Core Attributes" property filters out any core attributes 
> specified in the "Attributes List" property, but does not filter any 
> attributes matching the regular expression in the "Attributes Regular 
> Expression" property. This makes the functionality of the processor 
> inconsistent.
> According to [~markap14] _"Include Core Attributes should dictate whether or 
> not to add the attribute by default. If set to {{false}} but a regex matches 
> the attribute or it is in the list of attributes, it should be included."_
> To reach this desired functionality the attributes specified by the 
> "Attributes List" property should not be filtered when the "Include Core 
> Attributes" property is set to false.
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to