You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "Mohan (JIRA)" <ji...@apache.org> on 2019/08/01 05:29:00 UTC

[jira] [Created] (METRON-2202) Add parameter validation for the stellar field validation functions

Mohan created METRON-2202:
-----------------------------

             Summary: Add parameter validation for the stellar field validation functions
                 Key: METRON-2202
                 URL: https://issues.apache.org/jira/browse/METRON-2202
             Project: Metron
          Issue Type: Bug
            Reporter: Mohan
            Assignee: Mohan


Some of the field validation functions in the stellar returns true for empty parameters , 

{code:java}
[Stellar]>>> IS_DOMAIN()
true

[Stellar]>>> IS_EMAIL()
true

[Stellar]>>> IS_URL()
true

[Stellar]>>> IS_INTEGER()
true
{code}

We should add a invalid number of arguments exception or should just return false. 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)