OpenOffice.org Base: Misreads "." in Database Names

Bug #131565 reported by Anthony S
2
Affects Status Importance Assigned to Milestone
OpenOffice
Fix Released
Unknown
openoffice.org (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: openoffice.org-base

This bug is recreated when using FreeTDS to connect to an SQL Server database with dots in its name.

In /etc/odbc.ini:
[some_definition]
Driver = FreeTDS
Description = ODBC connection via FreeTDS
Trace = No
Servername = some_TDS_definition
Database = dev.servername.com

The name of the hypothetical database is "dev.servername.com". Regarding this issue, efforts to contain the database name in square brackets [] and quotes "" invalidate the connection.

Using OpenOffice.org Base, we connect using the "some_definition" ODBC entry. The tables are loaded in under the following branches:

dev
-> servername
-> -> com.dbo.table1
-> -> com.dbo.table2

That is part one of the bug. Part 2 is if we try to right-click one of the tables and open them, it returns an error. Further investigation shows us the query that is used:

SELECT * FROM "dev"."servername"."com.dbo.table1"

The appropriate way to do this in SQL Server would be to write:

SELECT * FROM [dev.servername.com].[dbo].[table1]

Let me know if you need more information.

Revision history for this message
Anthony S (aaaantoine) wrote :

Version Info:
Ubuntu Feisty Fawn 7.04
Kernel 2.6.22-9
openoffice.org-base 2.2.0-1ubuntu4
tdsodbc 0.63-3build1

Notes that may help determine what the importance should be set to:
- This bug prevents me from working with a particular database essential to my job.
- OpenOffice.org is part of the base Feisty Fawn distro
- A search of the repositories does not reveal any other applications that utilize ODBC for reading and modifying MS SQL databases.

Revision history for this message
Anthony S (aaaantoine) wrote :

According to the upstream bug, this not only affects MS SQL, but also MySQL, and possibly ODBC in general.

Changed in openoffice.org:
status: New → Confirmed
Changed in openoffice:
status: Unknown → In Progress
Changed in openoffice:
status: In Progress → Invalid
Revision history for this message
Anthony S (aaaantoine) wrote :
Changed in openoffice:
status: Unknown → Confirmed
Changed in openoffice:
status: Confirmed → Fix Released
Revision history for this message
Chris Cheney (ccheney) wrote :

I believe that this bug has been corrected in Ubuntu hardy openoffice.org 1:2.4.0~rc2-1ubuntu3 so I am marking it as Fix Released. If after upgrading you continue to have problems with this issue then feel free to reopen this bug.

Thanks,

Chris Cheney

Changed in openoffice.org:
status: Confirmed → Fix Released
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.