Apache OpenOffice (AOO) Bugzilla – Issue 86739
Database: schema names and table names containing slash '/'
Last modified: 2009-05-21 06:14:35 UTC
I am connecting to a postgresql 8.1 database that uses free text fields for schema names, table names and column names. I have noticed that OpenOffice.org database behaves strangely when trying to access these objects. The problem is when accessing a table where either the schema name or the table name contains the slash character '/'. The strange behaviour that I have identified so far: * In the tables tree listing these tables are shown with no icon (but the schema has an icon) * When double-clicking on the table (to show the table contents) the resulting window shows no columns and all actions are greyed-out. * The query designer shows no icon for the table and double clicking to add the table to the query has no effect * When opening the report wizard a message "The field names from 'test/table' could not be retrieved." is displayed. Note that accessing the database using the psql tool seems to cope fine with these tables and schema.
Created attachment 51915 [details] A database file with embedded database showing the issue
My interest is primarily in postgresql but I managed to recreate similar effects using an embedded database in the above attachment. 'test_no_slashes' is a table showing normal behaviour while 'test/table' shows the deviant behaviour.
This seems to be a regression since 2.2.0. My postgres and the attached hsqldb database both work on 2.2.0 as I would expect.
clu->wurzel: can you confirm that behavior?
I can confirm the current behaviour in OOo 2.4 Aqua. The table view shows an empty grid, same if you switch on the document view in the list of tables. In OOo 2.4 X11 for Mac, it causes the application to crash. In OOo 3.0 Aqua m5, it causes the application to crash. However, in all cases, the icon is shown in the list of tables. In OOo 2.4 Aqua, if you try and create a query using the Query Wizard, when you select the table from the dropdown list, an error message is displayed : "Can not extract field names from public.test/spec" In OOo 2.4 X11, any attempt to select the table, whether to create a query, a form, or just visualise the data, causes OOo systematically to crash. Setting crash keyword. Reassigning priority to P2.
change owner, set target
fs->oj: please take over.
Fixed in cws dba31d.
Please verify. Thanks.
looks good in CWS dba31d
Checked w/ 3.1 Closing (Opening new issue for field names with '/' in functions)