Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-1336

Globals variables are not present in Globals Data View

    Details

    • Steps to Reproduce:
      Hide
      1. Create default Drools project with HelloWorld rule file
      2. Edit Sample.drl file, add lines:
        global String stringVar
        global Object objectVar
        global List listVar
      3. Edit DroolsTest.java file, add lines:
        kSession.setGlobal("listVar", java.util.Arrays.asList(1, 2, 3));
        kSession.setGlobal("objectVar", new Object());
        kSession.setGlobal("stringVar", "testStringValue");
      4. Debug the project
      5. Open Global Data View
      Show
      Create default Drools project with HelloWorld rule file Edit Sample.drl file, add lines: global String stringVar global Object objectVar global List listVar Edit DroolsTest.java file, add lines: kSession.setGlobal("listVar", java.util.Arrays.asList(1, 2, 3)); kSession.setGlobal("objectVar", new Object()); kSession.setGlobal("stringVar", "testStringValue"); Debug the project Open Global Data View
    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      I just create this issue since this is problem which is present for very long time but I can't find the corresponding issue in Bugzilla or Jira.

      If global variables are used in drools project and it is debugged. No global variables are present in Global Data View.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                bbrodt Robert (Bob) Brodt
                Reporter:
                tomasdavidorg Tomas David
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: