apache / incubator-kie-issues

Apache License 2.0
12 stars 1 forks source link

Cannot include models: I get a "failed to import" when running a test with imported models #1627

Open gbuckholtz opened 3 days ago

gbuckholtz commented 3 days ago
2024-11-19 11:14:23,499 [main] INFO  No executable model found for artifact ca.queensu:sror:1.0-SNAPSHOT. Falling back to resources parsing.
2024-11-19 11:14:23,925 [main] INFO  Start creation of KieBase: defaultKieBase
2024-11-19 11:14:24,350 [main] ERROR DMN Model with name=gror and namespace=https://kiegroup.org/dmn/_676F9720-3A0C-4EAD-9D0A-A68E7016CED7 failed to import a DMN with namespace=https://kiegroup.org/dmn/_691425E9-D743-4F6F-9019-2607F6766BFD name=SROR locationURI=sror.dmn, modelName=null.
2024-11-19 11:14:25,066 [main] ERROR Error compiling FEEL expression 'Consecutive Years Taught(Term Adjunct.courses_Taught,SROR.Academic Year(today()))' for name 'Served 4 Consecutive Years as Term Adjunct' on node 'Served 4 Consecutive Years as Term Adjunct': Unknown variable 'SROR'

(I had to change the extension to .txt to attach) gror.txt sror.txt

SRORDecision.txt

yesamer commented 3 days ago

The test works if I simply change the drools version to 9.44.0.Final with no other changes @gbuckholtz Thank you for sharing. Not clear to me which is the drools version that makes the test fail.

gbuckholtz commented 3 days ago

Sorry, it is 999-SNAPSHOT that is causing the problem