Details
-
Bug
-
Resolution: Done
-
Major
-
6.0.0
-
Release Notes
-
ER1
-
?
-
Description
Description of problem:
I have a function defined according to documentation [1] and working in Guvnor 5.x. After migrating to Workbench, the function is listed in "Others" section and opens in default editor. Validation is not available. When the function is used in DRL rule I get compiler error upon validation:
Unable to Analyse Expression System.out.println(hello("Jiri"));: [Error: unable to resolve method using strict-mode: org.drools.core.spi.KnowledgeHelper.hello(java.lang.String)] [Near :
{... System.out.println(hello("Jiri")); ....}] ^ [Line: 5, Column: 0]
Version-Release number of selected component (if applicable):
ER1
How reproducible:
-
Steps to Reproduce:
1.
2.
3.
Actual results:
- Missing UI support (Function Editor with validation).
- Functions not recognized in rules.
Expected results:
not( Actual results )
Additional info: