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 154171 - Message of "Information" message should reflect more info
Summary: Message of "Information" message should reflect more info
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:
 
Reported: 2008-11-30 20:09 UTC by Roman Mostyka
Modified: 2009-02-19 20:38 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-11-30 20:09:03 UTC
1. Connect to "sample" Java DB.
2. Rightclick "PRODUCT" table and choose "View Data".
3. Add some char symbol to some field in PRODUCT_CODE column and press Enter.

Result: Message "Please enter valid data for PRODUCT_CODE of char type" appears. But it can mislead customer, since char
symbol was added. Need to somehow extend message to be more clear for our users.
Comment 1 _ ahimanikya 2008-12-01 04:06:33 UTC
I think the message is very clear. There is nothing that I can think of adding here. If you have suggestion please let
us know what exact text you would like to see.
Comment 2 Roman Mostyka 2008-12-01 14:40:59 UTC
Actually the message isn't very clear. I suggest to have something like "Please enter valid data for PRODUCT_CODE
according to column type".
The problem is that when user see "SW" in char type column, it isn't clear that size is 2 and it's impossible to enter
additional char symbols. When user enters !char! symbol it is expected that everything should be fine. If we slightly
change message, then user will try to find out what is wrong with column type and will look that size is 2. We need just
small change.
Comment 3 _ ahimanikya 2008-12-01 15:03:02 UTC
Then May be we should say something like this:

"Please enter valid data for PRODUCT_CODE of datatype char(2)"

Comment 4 Roman Mostyka 2008-12-01 15:10:55 UTC
Yes, quite understandable message. I agree with such message, it will be more clear.
Thanks.
Comment 5 Shansi 11 2008-12-04 10:08:52 UTC
Needs Verification.
http://hg.netbeans.org/main/rev/beb318f7a1de
Comment 6 Roman Mostyka 2008-12-04 13:18:22 UTC
Verified with build 081204.