[
https://issues.apache.org/jira/browse/NIFI-1181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aldrin Piri updated NIFI-1181:
------------------------------
Fix Version/s: 0.4.0
> Core attributes should be guarded
> ----------------------------------
>
> Key: NIFI-1181
> URL: https://issues.apache.org/jira/browse/NIFI-1181
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 0.3.0
> Reporter: Aldrin Piri
> Fix For: 0.4.0
>
>
> Evaluating some work for UpdateAttributes, specifically the ability to delete
> attributes, led to being able to delete UUID
> (https://github.com/apache/nifi/pull/116)
> As a result, the framework was nonplussed at the missing core attribute, uuid:
> {quote}
> 12:53:35 ESTERROR6d65c083-eb22-4ae7-b542-de808b1402d0
> UpdateAttribute[id=6d65c083-eb22-4ae7-b542-de808b1402d0]
> UpdateAttribute[id=6d65c083-eb22-4ae7-b542-de808b1402d0] failed to process
> session due to java.lang.IllegalStateException: Cannot create Provenance
> Event Record because FlowFile UUID is not set:
> java.lang.IllegalStateException: Cannot create Provenance Event Record
> because FlowFile UUID is not set
> {quote}
> Not sure if this applies to other core attributes, but at minimum, it seems
> like the UUID needs to have some framework level guarding against it from
> being inappropriately modified.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)