Details
-
Bug
-
Resolution: User Error
-
Major
-
6.5.0
-
None
-
Untriaged
-
Centos 64-bit
-
Unknown
Description
Creation of scope or collection within a scope with name=Scope_With-Largename_%81 or name=Colle_With-Largename_%81 fails with the below error
{"errors":{"name":"Length must be in range from 1 to 30"}}.
Name has only 24 characters. Without any special characters I can able to create a scope or collection with 30 characters.
curl -u Administrator:password -i -X POST http://10.112.176.101:8091//pools/default/buckets/default/collections/ -d name=Scope_With-Largename_%81
HTTP/1.1 400 Bad Request
X-XSS-Protection: 1; mode=block
X-Permitted-Cross-Domain-Policies: none
X-Frame-Options: DENY
X-Content-Type-Options: nosniff
Server: Couchbase Server
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Date: Thu, 08 Nov 2018 06:53:03 GMT
Content-Type: application/json
Content-Length: 58
Cache-Control: no-cache,no-store,must-revalidate
{"errors":
}
Failing on 6.5.0-1545 and 6.5.0-1580 builds.