[jboss-jira] [JBoss JIRA] (DROOLS-1466) Bound fields when changed in the WHEN condition become uneditable after saving

Saurabh Sharma (JIRA) issues at jboss.org
Tue Mar 7 00:13:00 EST 2017


Saurabh Sharma created DROOLS-1466:
--------------------------------------

             Summary: Bound fields when changed in the WHEN condition become uneditable after saving
                 Key: DROOLS-1466
                 URL: https://issues.jboss.org/browse/DROOLS-1466
             Project: Drools
          Issue Type: Bug
          Components: tools
    Affects Versions: 6.4.0.Final
         Environment: IBM WebSphere Application Server Network
Deployment 8.5.5.9 (64-bit)

            Reporter: Saurabh Sharma
            Assignee: Mario Fusco
            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



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list