]
Michael Anstis moved GUVNOR-2925 to DROOLS-1901:
------------------------------------------------
Project: Drools (was: Guvnor)
Key: DROOLS-1901 (was: GUVNOR-2925)
Workflow: GIT Pull Request workflow (was: classic default workflow)
Component/s: Guided Rule Editor
Guided Template Editor
(was: Guided Rule Editor)
(was: Guided Rule Templates)
Bound fields when changed in the WHEN condition become uneditable
after saving
------------------------------------------------------------------------------
Key: DROOLS-1901
URL:
https://issues.jboss.org/browse/DROOLS-1901
Project: Drools
Issue Type: Bug
Components: Guided Rule Editor, Guided Template Editor
Environment: IBM WebSphere Application Server Network
Deployment 8.5.5.9 (64-bit)
Reporter: Saurabh Sharma
Assignee: Toni Rikkola
Priority: Minor
Attachments: SimpleRule.jpg, SimpleRuleEdit.jpg
Calculation of a mid price of an instrument
While defining the WHEN condition, when a new price (NEWPRC) is bound from GSO.newPrice
The required fields for that price is bound so that they can be changed in the THEN
condition.
The properties of the price are similar to any of the Bid or the Ask price except the
unit price value. Those values are bound as well in the rule WHEN condition, and used in
the
THEN clause.
In the THEN condition, the individual bound variables are set with values, the UI lets me
add those values correctly without any issues the first time around.
The problem occurs when the rule is saved, and opened again for editing. All the fields
become uneditable and i have to repeat the steps of binding the variables of
NEWPRC and then modify/set the values of those variables again in the WHEN condition.
Is there any way to open the rule and get those bound variables in the edit mode