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

ASF subversion and git services commented on NIFI-15395:
--------------------------------------------------------

Commit ea8e2f7229345a3a9ffa99dc1beced56f8ea97f0 in nifi's branch 
refs/heads/main from Pierre Villard
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=ea8e2f7229 ]

NIFI-15395 Clearing Bulletins with no component returns a 200 (#10700)

- Changed throwing an IllegalArgumentException to returning an entity with 0 
cleared bulletins for null or empty components

Signed-off-by: David Handermann <[email protected]>

> Clearing bulletins when there is no component should not throw 400
> ------------------------------------------------------------------
>
>                 Key: NIFI-15395
>                 URL: https://issues.apache.org/jira/browse/NIFI-15395
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>            Reporter: Pierre Villard
>            Assignee: Pierre Villard
>            Priority: Major
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> If clearing the bulletins on an empty process group, or on a process group 
> where the user does not have the proper authorizations, it will throw an 
> error 400. This should not be the case and should just succeed and say that 
> bulletins have been cleared on 0 component.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to