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

ASF GitHub Bot commented on NIFI-2994:
--------------------------------------

Github user YolandaMDavis commented on the issue:

    https://github.com/apache/nifi/pull/1303
  
    Re-tested with several combinations of empty values, system behaved as 
expected, returning bad requests on invalid input and return 201 Created when 
position values were available or position object not included.
    
    +1 
    
    Will merge shortly.  Thanks @mcgilman 


> Rest Api - Assumes component position is specified
> --------------------------------------------------
>
>                 Key: NIFI-2994
>                 URL: https://issues.apache.org/jira/browse/NIFI-2994
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>            Reporter: Matt Gilman
>            Assignee: Matt Gilman
>            Priority: Minor
>             Fix For: 1.2.0
>
>
> Which can lead to an NPE. If the position is not specified we should likely 
> default it to some value (like 0, 0).



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

Reply via email to