[
https://issues.apache.org/jira/browse/COUCHDB-2254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14029513#comment-14029513
]
Akshat Jiwan Sharma commented on COUCHDB-2254:
----------------------------------------------
This happens because an uppecase database name is invalid in coudhb. The
replicator tries to create a database with invalid name. It fails and returns
the error. But I agree that the error could be more descriptive. Here is the
relevant code
{error, illegal_database_name, _} ->
throw({db_not_found, DbName});
I guess it is pretty easy to throw a illegal_database_name? while db_not_found
makes sense for someone who is looking at the code it can leave some one
working with the http api or futon scratching their head.
Any way I don't think this is a major bug though :)
> The error displayed for capital characters in replication target database
> name is misleading
> --------------------------------------------------------------------------------------------
>
> Key: COUCHDB-2254
> URL: https://issues.apache.org/jira/browse/COUCHDB-2254
> Project: CouchDB
> Issue Type: Bug
> Security Level: public(Regular issues)
> Reporter: Tessy Antony
>
> Couchdb just gives 500 Server Error {"error":"db_not_found","reason":"could
> not open MY_UPPER_CASE_DATABASE"} when the replication target database name
> has upper case characters.
> Will be helpful if error output is more specific.
--
This message was sent by Atlassian JIRA
(v6.2#6252)