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 148446 - Minus operator does not get configured correctly
Summary: Minus operator does not get configured correctly
Status: STARTED
Alias: None
Product: soa
Classification: Unclassified
Component: IEP editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Gabriel Badescu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-26 03:26 UTC by prashantbhagat
Modified: 2008-10-01 06:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Project (7.92 KB, application/octet-stream)
2008-09-26 03:26 UTC, prashantbhagat
Details

Note You need to log in before you can comment on or make changes to this bug.
Description prashantbhagat 2008-09-26 03:26:01 UTC
Steps to reproduce:
1. Create a new IEP project
2. Drag an StreamInput and add an attribute to it.
3. Drag a TimeBasedOperator and a TupleBasedOperator. Connect these to the StreamInput
4. Drag a MinusOperator. Connect the TimeBasedOperator and TupleBasedOperator to it
5. Drag a StreamOutput.
6. Build the IEP project, you will see validation errors as copied below:
"ERROR: property "subtractFrom" is required but undefined."

Attached is the project that I created as per the steps outlined above.
Comment 1 prashantbhagat 2008-09-26 03:26:31 UTC
Created attachment 70637 [details]
Project
Comment 2 Ritesh Adval 2008-10-01 06:08:34 UTC
This issue has to do with not configuring minus operator properly.
In minus operator currently user should to select subtract from property and hit ok in the dialog.
This is confusing because when you open the minus dialog and it shows the first operator in subtract from 
field but user has to click ok to be able to save this value in operator property.

This should be fixed such that either when we link we should be able to set this property (subtractFrom)
to the first input operator connected to it, or in the operator dialog by default it should not
show first operator but a text like "select an operator"