This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 256932 - "Remember Password" checkbox ignored when password is blank.
Summary: "Remember Password" checkbox ignored when password is blank.
Status: NEW
Alias: None
Product: db
Classification: Unclassified
Component: DB schema (show other bugs)
Version: 8.0.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-02 15:47 UTC by mslade
Modified: 2015-12-02 15:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mslade 2015-12-02 15:47:41 UTC
While connecting to a database with "Remember Password" checked and a blank password, the blank password is not remembered.

Steps to reproduce:
[1] Create a database connection with valid credentials including a non-empty password and with "Remember Password" checked.
[2] Disconnect from the database.
[3] (Outside of Netbeans) Update the credentials you're connecting with such that the password is now an empty string "".
[4] Right click the connection and "Connect".  You will be notified that the credentials are incorrect and prompted for new credentials.
[5] Delete the password field and make sure that "Remember Password" is checked.  Click "Ok" to connect to the database using the correct, blank password.
[6] Disconnect from the database.
[7] Right click the connection and "Connect".  You will be again notified that the credentials are incorrect and prompted for new credentials.  The password field will have "*" characters indicating that it is still attempting to use the originally remembered non-blank password.

Expected behavior is that the blank password is remembered after step [5], and the connection works without having to enter credentials at step [7].