Details
-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
None
-
2019 Week 29-31, 2019 Week 32-34, 2019 Week 35-37
-
7
-
-
NEW
-
NEW
Description
I am finding inconsistent behaviour between drools reading rules from a local file (as a fileSystemResource) as opposed to pre compiling the rules into a kjar.
This happens if I use an enum declared within the drl file in the "when" or "then" section of a rule within the same drl file.
The rule runs perfectly as expected if I load the rule from the filesystem, but fails to run if I have pre-compiled the rule. For this reason I think this is a bug as I would expect the same behaviour for both ways of running rules.
I outlined the problem in more detail stackoverflow:
This is running JAVA8 and drools 7.23.0.Final