Bug #30499 Incorrect help text or incorrect input requirement in setup dialog
Submitted: 19 Aug 2007 19:47 Modified: 12 Oct 2007 13:07
Reporter: Kent Boortz Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / ODBC Severity:S3 (Non-critical)
Version:3.51.19 OS:Any
Assigned to: Bogdan Degtyariov

[19 Aug 2007 19:47] Kent Boortz
Description:
Using the setup dialog for creating a DSN, leaving out the "User"
field and hit "Ok" will give an error dialog "Missing User ID"
(line 158 and/or line 208 in "MYODBCSetupDataSourceDialog.cpp").

But the help text says (line 128 in "MYODBCSetupDataSourceTab1.cpp")

  User

  The username used to connect to MySQL.

    Optional  Yes (silently uses default)
    Default   ODBC (Windows only - otherwise [empty])

Not sure which one is right, the default DSN created by the ODBC
installer currently doesn't set the user name.

A minor glitch is also that when the dialog is put into the background, the
help text change to the default text when entering the dialog, when put
in forground again, it is back to the current text.

How to repeat:
Run the "ODBC Administrator" on Mac OS X, and create a new
DSN firing up the dialog (from the "libmyodbc3S" setup library).

Suggested fix:
Depending on what is correct or not, change the help text
or the dialog input check.
[21 Sep 2007 13:24] Bogdan Degtyariov
User ID warnings removed as unnecessary

Attachment: patch30499.diff (application/octet-stream, text), 1.45 KiB.

[12 Oct 2007 13:07] MC Brown
A note has been added to the 3.51.21 changelog:

Not specifying a user in the DSN dialog would raise a warning even though the parameter is optional.