Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-59488

Invalid pruneAge value (float) displayed in the error message

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 7.6.0
    • 7.6.0
    • ns_server
    • 7.6.0-1762
    • Untriaged
    • 0
    • No

    Description

       

      While trying to set the  invalid pruneAge value, the error message is displaying the invalid range value (35791394.11666667).

      root@sa1715-deb10:~# curl -w "\n" -X POST -u Administrator:password 172.23.108.67:8091/settings/audit -d "pruneAge=-1" {"errors":{"pruneAge":"The value must be in range from 0 to 35791394.11666667"}}
       
      root@sa1715-deb10:~# curl -w "\n" -X POST -u Administrator:password 172.23.108.67:8091/settings/audit -d "pruneAge=35791394.11666667"
      {"errors":{"pruneAge":"The value must be an integer"}}
       
      root@sa1715-deb10:~# curl -w "\n" -X POST -u Administrator:password 172.23.108.67:8091/settings/audit -d "pruneAge=35791395"
      {"errors":{"pruneAge":"The value must be in range from 0 to 35791394.11666667"}}
      

       

       

      Attachments

        For Gerrit Dashboard: MB-59488
        # Subject Branch Project Status CR V

        Activity

          People

            ashwin.govindarajulu Ashwin Govindarajulu
            ashwin.govindarajulu Ashwin Govindarajulu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty