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

incompete error message when creating database with invalid name

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.11
    • Fix Version/s: None
    • Labels:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: