[Libreoffice-bugs] [Bug 121587] New: Base "Confirm Migration" message pops up everytime

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Nov 21 13:33:53 UTC 2018


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

            Bug ID: 121587
           Summary: Base "Confirm Migration" message pops up everytime
           Product: LibreOffice
           Version: 6.1.3.2 release
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Base
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: tk at mic-consulting.de

Description:
using a base hsqldb file as a data source causes a pop-up message "Confirm
Migration". 
This may be ok, if a user open a base file first time, but unfortunartly this
massage appears every time, when you call a connection via macro.

macro stops at this moment and it is never a good idea, when users will migrate
at this time!

Remove this message imitatively! 


Steps to Reproduce:
1. register a base file with hsqldb as darta-source

2. write a macro, with uses data out of the database. therefor connect to
database 

Function knp_getConnection_BaseDok
  Dim oDBC As Variant
  Dim oDataSource As Variant
On Error Goto Fehler:
  oDBC = createUnoService("com.sun.star.sdb.DatabaseContext")
  oDataSource = oDBC.getByName("NameofDataSource")
  knp_getConnection_BaseDok = oDataSource.getConnection("","")
Fehler:
End Function

3. run macro - 

Actual Results:
popup message appears at every connection call and every data-transfer

Expected Results:
no popup at all!!


Reproducible: Always


User Profile Reset: No



Additional Info:

-- 
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/20181121/32a418ca/attachment.html>


More information about the Libreoffice-bugs mailing list