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

ASF GitHub Bot commented on METRON-1724:
----------------------------------------

Github user merrimanr commented on the issue:

    https://github.com/apache/metron/pull/1172
  
    I found one small bug.  Here's how to reproduce:
    
    1. Set the FROM date to be greater than the TO date.  A validation message 
should appear as expected.
    2. Set the TO date to be in the future.  Validation message still displays 
as expected and both inputs are marked with red.
    3. Change the FROM date to be less than the TO date and not in the future.  
The FROM date is still marked in red when it should not be.
    4. Change the TO date to not be in the future but greater than the FROM 
date.  The TO data is no longer marked in red but the validation message is 
still displayed.  At this point there should be no validation messages.


> Date/time validation missing in PCAP query
> ------------------------------------------
>
>                 Key: METRON-1724
>                 URL: https://issues.apache.org/jira/browse/METRON-1724
>             Project: Metron
>          Issue Type: Bug
>            Reporter: Tibor Meller
>            Priority: Major
>
> Validation formula should be the following: 
>  From < To < current date/time
>  
> Validation messages:
> Selected date range is invalid. The "To" date must be later than the "From" 
> date and the "To" date cannot be in the future.
> Source IP address format is invalid. Use valid v4IP format, for example, 
> [192.168.0.1|http://192.168.0.1/].
> Source port is invalid. Port number must be within the range of 0-65535.
> Destination IP address format is invalid. Use valid v4IP format, for example, 
> [192.168.0.1|http://192.168.0.1/].
> Destination port is invalid. Port number must be within the range of 0-65535.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to