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 154925

Summary: Wrong prompt in "Insert Record" dialog
Product: db Reporter: Roman Mostyka <romanmostyka>
Component: Show DataAssignee: _ ahimanikya <ahimanikya>
Status: VERIFIED FIXED    
Severity: blocker CC: sustaining
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Screenshot of wrong prompt in "Insert Record" dialog.

Description Roman Mostyka 2008-12-08 12:42:00 UTC
1. Connect to some DB and expand it's node.
2. Rightclick "Tables" node and choose "Create Table...".
3. Set table name, column name, set VARCHAR for the column type, set "test" as default value and click "OK".
4. Rightclick created table and choose "View Data...".
5. Press "Insert Record" button.

Result: There is a string "Press Ctrl+0 to toggle setting NULL value and Ctrl+1 to toggle setting NULL value for a given
column" in this dialog. But when Ctrl+1 is pressed, <DEFAULT> is inserted. I think this string should look "Press Ctrl+0
to toggle setting NULL value and Ctrl+1 to toggle setting DEFAULT value for a given column".
Comment 1 Roman Mostyka 2008-12-08 12:43:00 UTC
Increase priority since this highly visible issue and it can mislead customer.
Comment 2 Roman Mostyka 2008-12-08 12:44:41 UTC
Created attachment 74688 [details]
Screenshot of wrong prompt in "Insert Record" dialog.
Comment 3 _ ahimanikya 2008-12-08 18:11:25 UTC
http://hg.netbeans.org/main/rev/a3abd4f1087c
Comment 4 Roman Mostyka 2008-12-09 09:51:49 UTC
Verified with build 081208.
Comment 5 pgebauer 2008-12-16 13:16:43 UTC
The fix has been ported into the release65_fixes repository.

http://hg.netbeans.org/release65_fixes/rev/abbe790c3647