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 142393 - SQL History: Connections aren't removed from drop down list
Summary: SQL History: Connections aren't removed from drop down list
Status: VERIFIED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: SQL Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: John Baker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-31 12:11 UTC by Roman Mostyka
Modified: 2008-08-12 10:29 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 Roman Mostyka 2008-07-31 12:11:37 UTC
1. Add two DB connections.
2. Execute statement for the first.
3. Execute statement for the second.
4. Open SQL History ans set number of statements to save to '0'. All statements disappear.
5. Change connection in drop down list.

Result: Statements appear in the list. After dialog reopening everything is fine since there is no choice in connection
drop down list.
Comment 1 John Baker 2008-08-03 08:12:18 UTC
minor
Comment 2 Roman Mostyka 2008-08-04 10:30:05 UTC
The fact that connections remain in the list is minor issue, but if user change a connection, then list of executed
statements appears and it can confuse user. Therefore I set priority to P3.
Comment 3 John Baker 2008-08-04 11:57:57 UTC
This is a bug but I disagree on the priority.

It's really illogical for a user to set the limit to 0 then change the connection dropdown
Comment 4 Roman Mostyka 2008-08-04 12:27:13 UTC
I had this situation and therefore I filed this issue.
But priority is P3 since it can confuse user and make bad impression of IDE.
Comment 5 John Baker 2008-08-11 19:27:16 UTC
c92fc9b8d534
Comment 6 Quality Engineering 2008-08-12 04:05:45 UTC
Integrated into 'main-golden', available in build *200808120201* on http://bits.netbeans.org/dev/nightly/
Changeset: http://hg.netbeans.org/main/rev/c92fc9b8d534
User: John Baker <jbaker@netbeans.org>
Log: #142393 SQL History: Connections aren't removed from drop down list
Comment 7 Roman Mostyka 2008-08-12 10:29:17 UTC
Verified with build 080811.