You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Aldrin Piri (JIRA)" <ji...@apache.org> on 2015/11/17 18:58:10 UTC

[jira] [Resolved] (NIFI-1182) Framework should not allow the "uuid" attribute to be removed.

     [ https://issues.apache.org/jira/browse/NIFI-1182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aldrin Piri resolved NIFI-1182.
-------------------------------
    Resolution: Duplicate

> Framework should not allow the "uuid" attribute to be removed.
> --------------------------------------------------------------
>
>                 Key: NIFI-1182
>                 URL: https://issues.apache.org/jira/browse/NIFI-1182
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>            Reporter: Mark Payne
>              Labels: beginner, newbie
>
> The framework should guard against removing the "uuid" attribute. Code already exists to do this, but it appears that a bug exists that does allow the "uuid" attribute to be removed if the removal is done with a regular expression.
> I.e., StandardProcessSession.removeAllAttributes(FlowFile, Pattern) does not protected against this, though StandardProcessSession.removeAllAttributes(FlowFile, Set) and StandardProcessSession.removeAttribute(FlowFile, String) do protect against it.
> We need to ensure that all attribute removal methods protect against this.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)