Uploaded image for project: 'Metron'
  1. Metron
  2. METRON-2202

Add parameter validation for the stellar field validation functions

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: Next + 1
    • Labels:
      None

      Description

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

      [Stellar]>>> IS_DOMAIN()
      true
      
      [Stellar]>>> IS_EMAIL()
      true
      
      [Stellar]>>> IS_URL()
      true
      
      [Stellar]>>> IS_INTEGER()
      true
      

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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mohandv Mohan Venkateshaiah
                Reporter:
                mohandv Mohan Venkateshaiah
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m