Bug 61716 - cannot create .odb with ODBC connection
Summary: cannot create .odb with ODBC connection
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
4.1.0.0.alpha0+ Master
Hardware: Other Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2013-03-02 22:51 UTC by Terrence Enger
Modified: 2013-03-31 04:07 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
steps with in-line screen images. (310.85 KB, application/vnd.oasis.opendocument.text)
2013-03-02 22:51 UTC, Terrence Enger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Terrence Enger 2013-03-02 22:51:06 UTC
Created attachment 75804 [details]
steps with in-line screen images.

Steps to reproduce

( 1) Run LibreOffice with a command like 
         ./soffice.bin --norestore --base

     The program produces console messages ...
         warn:legacy.osl:21756:1:dbaccess/source/core/misc/dsntypes.cxx:369: ODsnTypeCollection::implDetermineType : missing the second colon !
         warn:legacy.osl:21756:1:dbaccess/source/core/misc/dsntypes.cxx:369: ODsnTypeCollection::implDetermineType : missing the second colon !
         warn:vcl.control:21756:1:vcl/source/control/button.cxx:2357: No new-style group set on radiobutton, using old-style digging around
         warn:legacy.osl:21756:1:dbaccess/source/core/misc/dsntypes.cxx:369: ODsnTypeCollection::implDetermineType : missing the second colon !
         warn:legacy.osl:21756:1:dbaccess/source/core/misc/dsntypes.cxx:344: ODsnTypeCollection::implDetermineType : missing the colon !
         warn:legacy.osl:21756:1:dbaccess/source/core/misc/dsntypes.cxx:344: ODsnTypeCollection::implDetermineType : missing the colon !

     Note the same text coming from two different source lines.  Then
     the program presents window Database Wizard at "Step 1. Select
     database".  Screen image captured.

( 2) Click radio button "Connect to an existing database" and in the
     dropdown list select ODBC.  Screen image captured.

( 3) Click <Next>.  Program presents the wizard "Step 2. Set up ODBC
     connection".  Screen image captured.  Note default Name of the
     ODBC cata source on your system has default value "dbc:odbc:*",
     something that I do not remember seeing in older programs.

( 4) Click <Browse>.  Pogram presents window "Data Source".

( 5) Click on your chosen datasource.  I chose a "user" datasource.
     Screen image captured.

( 6) Click <OK>.  Program again shows wizard Step2.  Your selected DSN
     is shown, and the window still has the <Browse> button.  Screen
     image captured.

( 7) Click <Next>.  Program presents wizard "Step 3.  Set up user
     authentication".  Screen image captured.

( 8) Click <Test Connection>.  Expected program action is to present a
     dialog box reporting success using words that I do not remember.
     Actual program action is to present a dialog box saying "A driver
     is not registered for the URL spsql_terry_ansi.  Note that this
     is *not* quite the datasource name previously selected.

( 9) Click <OK>.  Program presents "Step 3.  Set up user
     authentication".

(10) Click <Back>.  Program presents "Step 2.  Set up ODBC
     connection".  Note that the datasource name field is blank, and
     there is no <Browse> button.  I do not know how to procede.


I see this on master commit id b355324, pulled around 2013-03-01
16:30Z, built and running on ubuntu-natty (11.04) 32-bit, configured
as ...

    --enable-dbgutil
    --enable-crashdump
    --disable-build-mozilla
    --without-system-postgresql
    --without-myspell-dicts
    --without-help
    --with-extra-buildid


I do not see the problem in master commit 2e367c0, pulled around
2013-02-17, so setting keyword REGRESSION.
Comment 1 Terrence Enger 2013-03-31 04:07:31 UTC
The problem seems to be gone in commit af17e2a, pulled around
2013-03-29 11:45 UTC, although it was still present in commit 51a18f9
pulled arount 2013-03-14 17:40 UTC.