KOST-CECO / KOST-Val

The KOST-Val application is used for validate files and Submission Information Package (SIP).
http://coptr.digipres.org/KOST-Val
Other
24 stars 6 forks source link

Validation of dokument and dossier with no date does not work as expected. #68

Closed bardocuteam closed 1 year ago

bardocuteam commented 2 years ago

Hello,

During tests, I found out that if both dokument and dossier do not have a date ("keine Angabe"), then Kost-Val raises a period validation error: "dokument id="TEST-1-1-1-2-1"" (2015 - keine Angabe) invalid for the higher-level period (2015 - keine Angabe) When no error is expected.

This is due to the checks in Validation3dPeriodModuleImpl.java at lines 708 and 711 which compares the Node rather than their string value.

Cheers, Raphaël

Chlara commented 1 year ago

Hi Raphaël

Thanks for Reporting the bug. It should be fixed in this Pre-Release: https://github.com/KOST-CECO/KOST-Val/releases/tag/KOST-Tools_v1.0.3

Chlara