CouchDB
  1. CouchDB
  2. COUCHDB-741

incompete error message when creating database with invalid name

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial 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" }

        Activity

        Hide
        Chris Anderson added a comment -

        applied in r957613. thanks!

        Show
        Chris Anderson added a comment - applied in r957613. thanks!
        Hide
        Frank added a comment - - edited

        trivial fix of error message, see patch

        Show
        Frank added a comment - - edited trivial fix of error message, see patch
        Hide
        Andrew Alexander added a comment -

        changed priority and attached to database core/documentation

        Show
        Andrew Alexander added a comment - changed priority and attached to database core/documentation

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development