You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "David Handermann (Jira)" <ji...@apache.org> on 2026/03/05 18:24:00 UTC

[jira] [Updated] (NIFI-15601) Improve error message when flow file expiration number value has too many periods

     [ https://issues.apache.org/jira/browse/NIFI-15601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Handermann updated NIFI-15601:
------------------------------------
    Fix Version/s: nifi-api-2.7.0
       Resolution: Fixed
           Status: Resolved  (was: Patch Available)

> Improve error message when flow file expiration number value has too many periods
> ---------------------------------------------------------------------------------
>
>                 Key: NIFI-15601
>                 URL: https://issues.apache.org/jira/browse/NIFI-15601
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: NiFi API
>            Reporter: Daniel Stieglitz
>            Assignee: Daniel Stieglitz
>            Priority: Minor
>             Fix For: nifi-api-2.7.0
>
>         Attachments: generic_ff_expiration_error_msg.png, multiple_points_error_message.png
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> While working NIFI-15596, I noticed if a number with more than one period is entered for the flow file expiration on a connection (e.g. 1.1.1 min), the UI returns an error with the text
> {code:java}
> multiple points{code}
> while when a number is not entered but rather characters (e.g. obe min) the error message is
> {code:java}
> Flow file expiration is not a valid time duration (ie 30 sec, 5 min){code}
> As a user, I would rather consistently see the latter message as there is an example of how the format should look as opposed to the multiple points message which is not as clear.
> Also as a developer that message is no where in the code base so it is hard to know the source of the error.
> The objective of this ticket is to always have the the latter error message no matter what incorrect text is entered for the flow file expiration.



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