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 138660 - Misleading error message in aggregator operator dialogs
Summary: Misleading error message in aggregator operator dialogs
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: IEP editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Ritesh Adval
URL:
Keywords:
Depends on:
Blocks: 138046
  Show dependency tree
 
Reported: 2008-06-30 20:21 UTC by Ritesh Adval
Modified: 2008-07-22 03:48 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
time based aggregator (188.63 KB, application/octet-stream)
2008-06-30 20:22 UTC, Ritesh Adval
Details
tuple based aggregator (161.67 KB, application/octet-stream)
2008-06-30 20:23 UTC, Ritesh Adval
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ritesh Adval 2008-06-30 20:21:04 UTC
aggregator operators require at least one aggregator function, when not provided it gives misleading errors.

ex:
time based aggregator:

"single attribute expression can not be found from GROUP BY attributes"

same problem with tuple based aggregator:

We need to have a tooltip or something above the expression field that says something like " Please type in an 
expression i.e. AVG(StreamInput1.field) etc. - the same message should probably appear when I don't type in an 
expression
Comment 1 Ritesh Adval 2008-06-30 20:22:38 UTC
Created attachment 63706 [details]
time based aggregator
Comment 2 Ritesh Adval 2008-06-30 20:23:51 UTC
Created attachment 63707 [details]
tuple based aggregator
Comment 3 Ritesh Adval 2008-07-18 23:49:07 UTC
work stated.
Comment 4 Ritesh Adval 2008-07-19 03:36:34 UTC
fixed: 
Now message is more meaningful and clear:

"At least one expression is invalid for a GROUP BY query. The select expressions may only contain valid attributes 
used in GROUP BY clause and valid aggregate expressions."

Comment 5 jlautz 2008-07-22 03:48:07 UTC
Verified with Java CAPS 6 with NB 6.1 patches applied and IEP nbms for Build080720 (july 20) installed.