| Summary: | Guided Editor - adding method calls to consequence of a rule does not persist change | ||
|---|---|---|---|
| Product: | [Retired] JBoss BRMS Platform 6 | Reporter: | Tihomir Surdilovic <tsurdilo> |
| Component: | Business Central | Assignee: | Toni Rikkola <trikkola> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Tomas David <tdavid> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.0.0 | CC: | etirelli, jpaulraj, manstis, rrajasek, tdavid, trikkola |
| Target Milestone: | CR1 | ||
| Target Release: | 6.0.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-08-06 20:16:00 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Tihomir Surdilovic
2013-12-12 23:11:49 UTC
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. |