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 153379 - Warning message about deletion of a record contains errors
Summary: Warning message about deletion of a record contains errors
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: Shansi 11
URL:
Keywords:
Depends on:
Blocks: 152437
  Show dependency tree
 
Reported: 2008-11-18 12:09 UTC by Roman Mostyka
Modified: 2009-02-19 20:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot of exception message with errors. (27.41 KB, image/jpeg)
2008-11-18 12:10 UTC, Roman Mostyka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Mostyka 2008-11-18 12:09:30 UTC
1. Connect to DB.
2. Rightclick some of it's table and choose "View Data".
3. Change value of some cell.
4. Select this cell, rightclick it and choose "Delete Selected Row".

Result: Exception message appears, but it's text contains errors (see screenshot).
Comment 1 Roman Mostyka 2008-11-18 12:10:59 UTC
Created attachment 73863 [details]
Screenshot of exception message with errors.
Comment 2 _ ahimanikya 2008-12-04 13:54:53 UTC
Use NotifyDescriptor nd = new NotifyDescriptor.Message(msg, NotifyDescriptor.ERROR_MESSAGE) 
instead of NotifyDescriptor nd = new NotifyDescriptor.Exception(exception)

Comment 3 Shansi 11 2008-12-04 17:11:47 UTC
Needs Verification.
http://hg.netbeans.org/main/rev/29ae81f1adf9
Comment 4 Roman Mostyka 2008-12-05 16:17:20 UTC
Verified with build 081205.
Comment 5 Roman Mostyka 2008-12-05 16:18:43 UTC
Verified with build 081205.