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 165555 - Invalid entries can be entered in 'subtract from' property for Minus operator
Summary: Invalid entries can be entered in 'subtract from' property for Minus operator
Status: NEW
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: 2009-05-20 01:22 UTC by kdoizaki
Modified: 2009-05-20 01:22 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 kdoizaki 2009-05-20 01:22:46 UTC
Tested using GlassFishESB v2.1 nightly build (20090515-1455).

When Minus operator is used in a process, it can be configured from the Properties panel. However, the "subtract from" 
field accepts invalid characters and invalid entries. In addition only operator ids are valid entries. Shouldn't names 
be used since ids are only visible if the operator properties are viewed?

Steps to reproduce:
(1) Create IEP process with at least 2 relations fed into Minus operator
(2) View Properties panel - Ctrl+Shift+7
(3) In "subtract from" field enter an invalid name (e.g. use &*!), which is "saved" and displayed in the Properties 
panel
(4) Double-click the Minus operator to view the Property Editor; invalid entry will not be displayed. If valid 
selection is made, then the Properties will be updated.

Note that operator id (e.g. o2, o3) is used and not the operator name. "relation inputs" uses operator names, so why 
is not consistently used in "subtract from" as well. Also, the Property Editor uses operator name and not id 
in "Subtract From" drop-down list.