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

Daniel Stieglitz updated NIFI-15601:
------------------------------------
    Component/s: NiFi API

> 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
>
> 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), the UI 
> returns an error with the text
> {code:java}
> multiple points{code}
> while when a number is not entered but rather characters 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 the incorrect text entered for the flow file expiration.



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

Reply via email to