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

Joseph Witt commented on NIFI-415:
----------------------------------

Understood.  I am quite torn on this.  'filename' is just an attribute.  It 
isn't really special to us in terms of how the framework will handle anything.  
So in that sense it does seem like PutFile's problem.  Seems dangerous to have 
'special' attributes in that map.  Are there any others that we would want to 
have special treatment for?  

I know we do have 'special' handling for them in the flowfile packagers but 
that was just really about backward compatibility, right?



> Framework should not allow an empty filename to be set
> ------------------------------------------------------
>
>                 Key: NIFI-415
>                 URL: https://issues.apache.org/jira/browse/NIFI-415
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>            Reporter: Mark Payne
>            Assignee: Mark Payne
>            Priority: Minor
>              Labels: beginner
>
> StandardProcessSession and MockProcessSession should ignore the attribute if 
> set via setAttributes and should throw an Exception if set via setAttribute, 
> in the same manner as if attempting to set the "uuid" attribute of a flowfile.



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

Reply via email to