| Summary: | Guided rule editor should show a selector for literal or bound variable when a method call is used | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] JBoss BRMS Platform 6 | Reporter: | Toni Rikkola <trikkola> | ||||
| Component: | Business Central | Assignee: | manstis | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Jiri Locker <jlocker> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 6.0.0 | CC: | mwinkler, rrajasek, rzhang | ||||
| Target Milestone: | ER 7 | ||||||
| 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:38 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: | |||||
| Attachments: |
|
||||||
Fix is here master: https://github.com/droolsjbpm/drools-wb/commit/07ae521de The fix in https://bugzilla.redhat.com/show_bug.cgi?id=1042511 depended on this so I cherry-picked this to 6.0.x 6.0.x https://github.com/droolsjbpm/drools-wb/commit/158e0418c Pen icon is in place. I cannot select bound variable but that is a different issue, I think. I will investigate. |
Created attachment 836331 [details] Models for testing Steps to Reproduce: 1. Import two models in a jar. For example the drools-core.jar 2. Import org.drools.workbench.models.datamodel.rule.RuleModel and org.drools.workbench.models.datamodel.rule.RuleMetadata 3. Add the two models as patters to a Guided Rule Editor WHEN-section and declare them to variables "model" and "meta" 3. Call a method "addMetadata" from model Actual results: Gives a literal text box with a value "0". Expected results: Should give the pen icon and the ability to either pick a bound variable (the "meta") or a literal value.