[Libreoffice-bugs] [Bug 115988] "DataSource.ConnectWithCompletion" function not working since 6.x
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Mon Feb 26 18:16:32 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=115988
robert at familiegrosskopf.de changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |robert at familiegrosskopf.de
--- Comment #4 from robert at familiegrosskopf.de ---
Have tried this one with OpenSUSE 42.3 64bit rpm Linux and LO 6.0.0.3, LO
6.0.1.1 and LO 6.0.2.1
I changed the code, because there are many lines without any function for the
bug-description:
SUB ConnectDB
oDatasource = ThisComponent.DataSource
If Not oDatasource.IsPasswordRequired Then
Connection = oDatasource.GetConnection("","")
Else
InteractionHandler = createUnoService("com.sun.star.sdb.InteractionHandler")
Connection = oDatasource.ConnectWithCompletion(InteractionHandler)
End If
END SUB
There must be an external database, which needs a username and password. I
tried with MariaDB on my system.
I put the code into the *.odb-file, started the code and got the dialog for
input password. No problems here with any tested LO-version to connect to the
MariaDB this way.
--
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/20180226/7f2ea7ab/attachment.html>
More information about the Libreoffice-bugs
mailing list