[Libreoffice-bugs] [Bug 125168] The database wizard generates buggy PostgreSQL URLs

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu May 23 16:51:02 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=125168

--- Comment #17 from Drew Jensen <drewjensen.inbox at gmail.com> ---
Here is what I think is happening:

If the Base wizard can not parse the connection string entered
For instance this: host=localhost:5432 dbname=lo
Base will display an error, complaining about the string.

In LO 6.1 and first few 6.2.x the code behind the Newdatabase Wizard did not
alter the string entered, while the wizard is open.

In LO6.2 and 6.3 currently the wizard code will truncate the string to null,
always or often, after the first error.

You can see it with these steps

1 - start new database wizard, type postgresql Next tab
2 - enter a connection normally, but add the :5432 to the end of the host name,
next tab
3 - enter username and click test connection. You will get the error about the
connection string failing to parse.

4 previous tab. Back to the connection string text box tab. The string may
still be displayed, or if the string was clobbered the text box is empty.

5 next tab. To the user name, test connection, tab.

6 Click Test connection

result: error now that it can not load the driver!

6 close the error box and previous tab. 

result: The connection string, in the text box, is null "".

** could of skipped the test connection step, the connection string is
clobbered it seems when the tab is changed in step 5. 

expected: It never went null, no matter how often you switched tabs.

Ran bibsect against a 6.2 repo, the best I could get was a range of commits for
when the anomaly starts:

The first bad commit could be any of:
ffef5911b61a3d1ef7093c7fe8b30ed617df5176
0c4c968c7cfc8c44a60bf1047e3d3a2bf961ff67

The final step(0) of the bibisect session LO crashes right as the database type
of postgresql is selected. I answered that as "bibisect skip" rather than bad,
which I suppose explains the range.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190523/b9fe3262/attachment.html>


More information about the Libreoffice-bugs mailing list