[Libreoffice-bugs] [Bug 138265] New: incorrect message for undefined ODBC DSN

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Nov 16 18:57:30 UTC 2020


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

            Bug ID: 138265
           Summary: incorrect message for undefined ODBC DSN
           Product: LibreOffice
           Version: 7.1.0.0.alpha1+
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: minor
          Priority: medium
         Component: Base
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: lo_bugs at iseries-guru.com

Created attachment 167337
  --> https://bugs.documentfoundation.org/attachment.cgi?id=167337&action=edit
broken database file

STR

(1) Optionally download attached example_odbc.odb and skip to step 8.

(2) Run soffice with command-line parameter --base.  Program presents
    database wizard step "Select database".

(3) Click radio button "Connect to an existing database" and in the
    dropdown list click ODBC.  Click button <Next>.  Program presents
    database wizard step "Set up ODBC connection".

(4) In "Name of the ODBC data source on your system" type
    "nonexistent".  Click button <Next>.  Program presents database
    wizard step "Set up user authentication".

(5) Click <Next>.

(6) Click radio button "No, do not register ..."; uncheck "Open the
    database ..."; click button <Finish>.  Program presents dialog
    "Save as".

(7) Save the database as example_odbc.  Program closes.

(8) Open example_odbc.odb.  Program displays main database
    window.

(9) In pane Database, click <Tables>.

    Observed:  Program displays msgbox

        The connection to the data source "example_odbc" could not be
        establised.

        [unixODBC][Driver Manager]Data source name not found, and no
        default driver specified
       
/home/terry/lo_hacking/git/libo6/connectivity/source/drivers/odbc/OTools.cxx:357

    Expected : The message should name "nonexistent" as the data
               source.

I observed this in a local build of commit 38b1497d (2020-11-04) built
and running on debian-buster.

-- 
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/20201116/442bf72d/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list