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 94534 - If query is incorrect in command property of rowset, then no error indicated
Summary: If query is incorrect in command property of rowset, then no error indicated
Status: NEW
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Winston Prakash
Depends on:
Reported: 2007-02-05 22:02 UTC by bugbridge
Modified: 2008-01-16 00:08 UTC (History)
1 user (show)

See Also:
Exception Reporter:

Missing cols (42.85 KB, application/octet-stream)
2007-02-05 22:17 UTC, Pegah Sarram

Note You need to log in before you can comment on or make changes to this bug.
Description bugbridge 2007-02-05 22:02:11 UTC
Original status: 5-Cause Known; Suggested Status: NEW

Original Target Release: mako_dev; Suggested Target Milestone : Dev

Original submitter: jbaker

Using Update 5

To reproduce:

1) Add a table to a Page
2) In the command property of the rowset, insert a syntax error
3) Drop an OutputText component and invoke the Property Bindings dialog
4) Expand the rowset

Note:   no indication that there's an error in the rowset property

See attached image
The trip rowset node should have subnodes for each column of the Trip database

xxx@xxxx 2005-1-07 02:12:10 GMT
xxx@xxxx 2005-1-07 02:21:32 GMT

I agree with JohnB that the problematic rowset should have some indication that
all information about it could not be obtained. The columns are missing becuase
DP.GetFieldKeys() thrown an exception. This capturing this exception is an
indication that the rowset is in trouble and should be marked accordingly. 

I have addressed this issue for data binding dialog and table layout. The
problematic rowset is listed in red color in the combo box to show that it has
some error.

We should revisit this for the next release.
Comment 1 Pegah Sarram 2007-02-05 22:17:52 UTC
Created attachment 38070 [details]
Missing cols
Comment 2 Winston Prakash 2007-10-16 18:44:23 UTC
This may be fixed in NB 6.0. Need verification from database team
Comment 3 John Baker 2008-01-16 00:06:56 UTC
There should be an error dialog opening or message in the Output window, but there's not.

No time to fix for 6.1

Comment 4 John Baker 2008-01-16 00:08:00 UTC
I think the Component error window should appear or an error dialog