Database connection error with capital letters in dbname

Bug #1178603 reported by Sven Becker
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
New
Undecided
Unassigned

Bug Description

I get several errors 'Connection to the database failed' when the database name includes capital letters. The source of the error is just one single line:

./openerp/addons/web/controllers/main.py:1383
>> registry = openerp.modules.registry.Registry(dbname.lower())

when I remove the ".lower()" everything works fine:

>> registry = openerp.modules.registry.Registry(dbname)

Identifiers in PostgreSQL are case sensitive, so the lower-conversion shouldn't be used here.
I use OpenERP Version 7.0-20130508-231028

Best regards
Sven Becker

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.