René Zeidler created NIFI-14581:
-----------------------------------
Summary: Provenance Event search/filtering by date doesn't work
Key: NIFI-14581
URL: https://issues.apache.org/jira/browse/NIFI-14581
Project: Apache NiFi
Issue Type: Bug
Components: Core UI
Affects Versions: 2.4.0
Environment: Edge 136.0.3240.76, Windows 23H2
Reporter: René Zeidler
Attachments: image-2025-05-20-10-07-14-329.png,
image-2025-05-20-10-11-36-518.png
h1. Summary
The provenance event search (Data Provenance -> Search Icon) doesn't work
whenever the "Date Range" input has a value. This is especially a problem
because the date range input contains the current date by default (which it
probably shouldn't either):
!image-2025-05-20-10-07-14-329.png!
Clicking "Search" when the date range input is filled closes the modal, but the
provenance events aren't filtered.
h1. Cause
The request to /nifi-api/provenance fails with HTTP 400 "Message body is
malformed. Unable to map into expected format."
The cause seems to be that the "startDate" and "endDate" values are in an
unexpected format:
!image-2025-05-20-10-11-36-518.png!
Without these parameters the request succeeds.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)