Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-741

incompete error message when creating database with invalid name

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 0.11
    • None
    • None

    Description

      The illegal_database_name reason fails to specify all the requirements, causing it to be misleading. See example below. (failed to begin with a letter)

      x@dev:$ restclient http://127.0.0.1:5984/4df57220060c10afb9aad04dec097388
      {
      "error": "illegal_database_name",
      "reason": "Only lowercase characters (a-z), digits (0-9), and any of the characters _, $, (, ), +, -, and / are allowed"
      }

      Attachments

        1. COUCHDB-741.patch
          0.6 kB
          Frank

        Activity

          People

            Unassigned Unassigned
            aalex Andrew Alexander
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: