[
https://issues.apache.org/jira/browse/NIFI-9058?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Handermann resolved NIFI-9058.
------------------------------------
Fix Version/s: 1.16.0
Resolution: Fixed
> 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
> Fix For: 1.16.0
>
> 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)