cdisc-org / cdisc-rules-engine

Open source offering of the cdisc rules engine
MIT License
45 stars 12 forks source link

Rule blocked: CORERULES-000105 CG0569 (LOBXFL) (there might be others) crashes engine with "-r" when rule is not applicable for the SDTMIG version #692

Open JozefAerts opened 2 months ago

JozefAerts commented 2 months ago

When running with "-r CORERULES-000105", the engine crashes when the SDTMIG version provided is 3-2 (to which the rule is not applicable). In our test file, we don't have DM.RFXSTDTC yet, and in LB/VS, we don't have xxLOBXFL. When -r is not provided (so essentially saying "do all rules") the engine just runs fine.

I think that also when using "-r", the rule should be skipped when it is not applicable (at least if that is the cause of the crashing)

CLI command was: core.exe validate -s sdtmig -v 3-2 -dv 2.1 -o D:\temp\core-validation-result_20240502T081310_626 -of XLSX -d D:\eclipse-java-2018-09-win32-x86_64\eclipse\workspace\SDTM-ETL_4_5\CDISCCOREFiles -r CORE-000105

I attach the 3 XPT datasets (DM, LB, VS). CDISCCOREFiles.zip