Hide Forgot
Guided Rule editor - after adding a method (with parameters with literal and bind values) are not persisted (dissapear) after saving the asset.
This is a BRMS bug, moving.
Literal should be fixed by this. https://bugzilla.redhat.com/show_bug.cgi?id=1039639
Toni, if this is fixed, I am setting the ticket to MODIFIED for QA to pick it up.
Toni, I just checked and the problem still exists. See my e-mail, I believe the problem is that the widget is populating the method name attribute with the wrong string, i.e., with the paramenters, instead of just the method name: method( X, Y ) instead of: method This code here looks suspicious: https://github.com/droolsjbpm/drools-wb/blob/master/drools-wb-screens/drools-wb-guided-rule-editor/drools-wb-guided-rule-editor-client/src/main/java/org/drools/workbench/screens/guided/rule/client/widget/ActionCallMethodWidget.java#L239
Looks like the commit only fixes the issue when we are loading the rule. If the method call is added in the editor it breaks.
First set of commits: Master: https://github.com/droolsjbpm/kie-wb-common/commit/38abd5995 https://github.com/droolsjbpm/drools-wb/commit/6f6e1d199 6.0.x: https://github.com/droolsjbpm/kie-wb-common/commit/fcbfb00ac https://github.com/droolsjbpm/drools-wb/commit/e1df9230d
Verified on BRMS 6.0.0.CR2.