Uploaded image for project: 'JBoss BRMS Platform'
  1. JBoss BRMS Platform
  2. RHBRMS-1764

Guided rule editor should show a selector for literal or bound variable when a method call is used

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.0.0
    • 6.0.0
    • Business Central
    • None

      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.

              manstis@redhat.com Michael Anstis
              trikkola Toni Rikkola
              Archiver:
              rhn-support-ceverson Clark Everson
              Jiří Locker Jiří Locker (Inactive)
              Jiří Locker Jiří Locker (Inactive)
              Cheng Zhang (Inactive), Marek Winkler (Inactive), Rajesh Rajasekaran

                Created:
                Updated:
                Resolved:
                Archived: