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 138490

Summary: "Show SQL Script for UPDATE" popup menu item should be disabled
Product: db Reporter: Roman Mostyka <romanmostyka>
Component: Show DataAssignee: _ ahimanikya <ahimanikya>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description Roman Mostyka 2008-06-27 14:33:20 UTC
1. Connect to Java DB 'travel'.
2. Rightclick 'TRIP' table and choose "View Data...".
3. Rightclick some row and choose "Show SQL Script for UPDATE".

Result: Nothing happens. Script will be shown only if there is an update for some row. But it can mislead customer. It
looks like functionality doesn't work. "Show SQL Script for UPDATE" popup menu item should be disabled if there is no
changes.
Comment 1 _ ahimanikya 2008-07-04 12:49:03 UTC
Fixed.
http://hg.netbeans.org/dbdataview/rev/c9c955020298
Comment 2 Roman Mostyka 2008-07-07 12:13:38 UTC
Verified with build 080707.