#1186: Database names should not always be converted to file paths
--------------------+-------------------------------------------------------
 Reporter:  cito    |       Owner:  somebody
     Type:  defect  |      Status:  new     
 Priority:  major   |   Milestone:  0.8.3   
Component:  db      |     Version:  0.8.4   
 Keywords:          |  
--------------------+-------------------------------------------------------
 For my dabo application I used a (Postgres) database with the name "test".
 However, the `importConnections()` function in `connParser` checks if the
 database exists as a file, and replaces the name with the file path in
 this case. Unfortunately, since the filename "test" existed as a
 subdirector of the app, the database name was converted to the path name
 of the test dir, and Postgres of course did not like this (it generally
 never expects a filename as the database name).

 I suggest removing this automatic file path conversion in
 `importConnections()`, and adding it only to `dbSQLite` and those
 connectors that really need file paths (or you can add it as an extra
 property `DatabasePath` to `dConnectInfo`).

-- 
Ticket URL: <http://trac.dabodev.com/ticket/1186>
Dabo Trac <http://trac.dabodev.com>
Trac Page for Dabo


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]

Reply via email to