forked from geonetwork/core-geonetwork
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix exception handling from schematron validation so that it flags th…
…e metadata as invalid if there is an exception (geonetwork#6978) * Fix exception handling from schematron validation so that it flags the metadata as invalid if there is an exception. Otherwise, if there is an exception metadata status could be set as valid when it is not because the check failed. It is safer to set the metadata as invalid in this case - once the issue is resolved then re-validation can be performed. * If validation fails due to exeception then set status to never validated. * If never validated and required then set status to never validated.
- Loading branch information
Showing
2 changed files
with
26 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters