Bug 141845 - LibreOffice Vanilla / Collabora Productivity fails to open postgres connected ODB file using the postgres native connector
Summary: LibreOffice Vanilla / Collabora Productivity fails to open postgres connected...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
7.1.2.2 release
Hardware: ARM macOS (All)
: highest normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectRequest, regression
Depends on:
Blocks:
 
Reported: 2021-04-23 07:10 UTC by Alex Thurgood
Modified: 2023-03-15 10:38 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Collabora Productivity - screenshot of list of possible database sources to which to connect via wizard. (90.91 KB, image/png)
2021-10-21 10:52 UTC, Alex Thurgood
Details
Screenshot of available existing datasource connection possibilities via wizard (61.74 KB, image/png)
2021-10-21 10:56 UTC, Alex Thurgood
Details
LibreOffice Vanilla - screenshot of available datasource connection possibilities via wizard (78.77 KB, image/png)
2021-10-21 11:02 UTC, Alex Thurgood
Details
Collabora AppStore list of announced bug fixes (139.01 KB, image/png)
2022-02-10 08:20 UTC, Alex Thurgood
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Thurgood 2021-04-23 07:10:04 UTC
Description:
Description:
1) Load an ODB file that is configured to connect to a postgres database instance using the native postgres connector.

2) Click on any of the icons on the left hand side of the main Base application window, e.g. Tables

3) After entering the pwd/id combination where necessary, an error message is displayed :

Unable to establish connection to external datasource. No SDBC driver found for the URL 'sdbc:postgresql:host=127.0.0.1 port=5435 dbname=lotest'.

Unable to establish connection to datasource « PGsdbctestlocal ».
A connection for the following  URL was required
« sdbc:postgresql:host=127.0.0.1 port=5435 dbname=lotest ».

No tables are listed / display in the bottom pane where the Table list should appear.

No further UI work is possible with the database file.

Steps to Reproduce:
See above

Actual Results:
It is impossible to do any UI work with the ODB file as the db connection is not established.

Expected Results:
The connection should be made, and at least the Table list visible in the bottom Base pane


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Tested with 

Version: 7.1.2.3 / LibreOffice Community
Build ID: a393d9064b7eb849da7f488ab43f56a404be32ae
CPU threads: 8; OS: Mac OS X 11.2.3; UI render: default; VCL: osx
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Calc: threaded
Comment 1 Alex Thurgood 2021-04-23 07:11:35 UTC
Not reproducible in 

TDF LO release :
Version: 7.1.2.2 / LibreOffice Community
Build ID: 8a45595d069ef5570103caea1b71cc9d82b2aae4
CPU threads: 8; OS: Mac OS X 10.16; UI render: default; VCL: osx
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Calc: threaded
Comment 2 Nortech001 2021-06-18 07:36:16 UTC Comment hidden (spam)
Comment 3 Alex Thurgood 2021-10-21 10:35:04 UTC
Have reset this to new as neither LOVanilla nor Collabora Productivity available through the AppStore now contain a postgres sdbc driver with versions :

LO Vanilla 
Version: 7.2.0.4 / LibreOffice Community
Build ID: 9a9c6381e3f7a62afc1329bd359cc48accb6435b
CPU threads: 8; OS: Mac OS X 11.6; UI render: default; VCL: osx
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Calc: threaded

Collabora Productivity
Version: 21.06.4.1
Build ID: 5ad6bfb54ffec15fe311ed990aa1518979b8f086
CPU threads: 8; OS: Mac OS X 11.6; UI render: default; VCL: osx
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Calc: threaded
Comment 4 Alex Thurgood 2021-10-21 10:51:58 UTC
Additionally, the "Create New Database" wizard does not even list the possibility of connecting to an existing postgres database server, cf. screenshot.
Comment 5 Alex Thurgood 2021-10-21 10:52:45 UTC
Created attachment 175860 [details]
Collabora Productivity - screenshot of list of possible database sources to which to connect via wizard.
Comment 6 Lionel Elie Mamane 2021-10-21 10:55:48 UTC
That's unfortunate. On recent-ish versions of MacOS X, we don't even need to ship the PostgreSQL C client library, it is provided by the OS :-|
Comment 7 Alex Thurgood 2021-10-21 10:56:18 UTC
Created attachment 175861 [details]
Screenshot of available existing datasource connection possibilities via wizard

There are even fewer choices of possible datasource connections in LOVanilla from the AppStore.
Comment 8 Alex Thurgood 2021-10-21 11:02:08 UTC
Created attachment 175862 [details]
LibreOffice Vanilla - screenshot of available datasource connection possibilities via wizard
Comment 9 Alex Thurgood 2021-10-22 06:21:35 UTC
How can this be bibisected against Collabora's codebase/release ?


With TDF
Version: 7.2.1.2 / LibreOffice Community
Build ID: 87b77fad49947c1441b67c559c339af8f3517e22
CPU threads: 8; OS: Mac OS X 10.16; UI render: default; VCL: osx
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Calc: threaded

it still works just fine, the postgres SDBC connector is still there.


So, the problem appears to lie specifically with the way Collabora builds their own release and the LO Vanilla release.
Comment 10 Alex Thurgood 2022-02-10 08:19:54 UTC
With Collabora Office

Version: 21.06.15.1
Build ID: 60a66e4bf6afbf5d4221dab436bb1aca744a7ddf
CPU threads: 8; OS: Mac OS X 12.2; UI render: default; VCL: osx
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Calc: threaded

In the list of fixes (cf. screenshot) displayed on the AppStore, it says postgres  upgraded to 13.5, yet, there is still no way to either create a new connection to a running postgres instance (Step 1 of Create Database Wizard), or successully load and read data from an existing postgres configured ODB.
Comment 11 Alex Thurgood 2022-02-10 08:20:25 UTC
Created attachment 178184 [details]
Collabora AppStore list of announced bug fixes
Comment 12 Alex Thurgood 2023-03-15 10:38:16 UTC
This works with LibreOffice from the Apple app store:

Version: 7.4.6.2 / LibreOffice Community
Build ID: 5b1f5509c2decdade7fda905e3e1429a67acd63d
CPU threads: 8; OS: Mac OS X 13.2.1; UI render: default; VCL: osx
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Calc: threaded