Hide Forgot
Created attachment 826057 [details] Maven project with reproducer Description of problem: With RETE, KieSession.getEntryPoint(String) returns a non-null EntryPoint for an entry point which has not been declared. PHREAK returns null, as expected. Version-Release number of selected component (if applicable): Drools 6.0.0-SNAPSHOT BRMS 6.0.0 ER4 How reproducible: Run EntryPointTest from the attached Maven project with setting drools engine to RETE: mvn clean test -Dtest=EntryPointTest -Ddrools.ruleEngine=reteoo The test passes, when executed with PHREAK: mvn clean test -Dtest=EntryPointTest -Ddrools.ruleEngine=phreak Actual results: The test fails (a non-null entrypoint is returned). Expected results: The test passes (null is returned).
Fixed by https://github.com/droolsjbpm/drools/commit/3fe05335c
Verified on BRMS 6.0.0 ER6.