[
https://issues.jboss.org/browse/DROOLS-1336?page=com.atlassian.jira.plugi...
]
Tomas David updated DROOLS-1336:
--------------------------------
Steps to Reproduce:
# 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
was:
# 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
Globals variables are not present in Globals Data View
------------------------------------------------------
Key: DROOLS-1336
URL:
https://issues.jboss.org/browse/DROOLS-1336
Project: Drools
Issue Type: Bug
Components: eclipse plugin
Reporter: Tomas David
Assignee: Robert (Bob) Brodt
Labels: reported-by-qe
Attachments: globals.png
I just create this issue since this is problem which is present for very long time but I
can't find
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.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)