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 142620 - Message about duplicate entry hard to see
Summary: Message about duplicate entry hard to see
Status: VERIFIED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Show Data (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: _ ahimanikya
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-01 18:48 UTC by Roman Mostyka
Modified: 2008-08-04 11:06 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-08-01 18:48:22 UTC
1. Connect to Java DB 'travel'.
2. Rightclick this table and choose "View Data...".
3. Press "Insert Record" button, add duplicate data and press "OK".

Result: "Insert Record" dialog disappears and message about duplicate is shown in the status bar. But customer can miss
this message. It will be better to show this message in the dialog and not close dialog to let customer enter different
values.
Comment 1 _ ahimanikya 2008-08-01 18:56:27 UTC
In fact we were displaying the error message, but there was some concern around showing exceptions.

Also when user clicks OK it will execute the sql in a background thread, so there is no way we can keep the INSERT
dialog open. I could display a error dialog that displays the error message without the stack trace.
Comment 2 _ ahimanikya 2008-08-01 20:23:36 UTC
http://hg.netbeans.org/main/rev/761be22e9e5b
Comment 3 Roman Mostyka 2008-08-04 11:06:28 UTC
Verified with build 080804.