[
https://issues.apache.org/jira/browse/NIFI-15337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18045138#comment-18045138
]
ASF subversion and git services commented on NIFI-15337:
--------------------------------------------------------
Commit 1e1a1dfd48845ea15a0b9682412884d15e0a0739 in nifi's branch
refs/heads/main from László Dénes Terjéki
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=1e1a1dfd488 ]
NIFI-15337 - Fix optional ComponentStateEntity handling for clear-requests
Signed-off-by: Pierre Villard <[email protected]>
This closes #10639.
> ClearState Optional parameter is mandatory
> ------------------------------------------
>
> Key: NIFI-15337
> URL: https://issues.apache.org/jira/browse/NIFI-15337
> Project: Apache NiFi
> Issue Type: Bug
> Affects Versions: 2.6.0
> Reporter: László Dénes Terjéki
> Assignee: László Dénes Terjéki
> Priority: Major
> Fix For: 2.8.0
>
> Attachments: replication.log
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> In NIFI-14900 the `\{id}/state/clear-requests` endpoint has a new optional
> parameter:
> {noformat}
> Optional component state to perform a selective key removal. If omitted,
> clears all state.{noformat}
> But if not set a NullPointerException is thrown during replication.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)