Commit 97f72ac
committed
fix: Correct syntax errors in temporal validation integration (Phase 3 corrective)
Fixes syntax errors in validateDeploymentFeature, validateProcedureFeature, and
validateSamplingFeature where temporal validation code was incorrectly inserted
into the middle of error message string literals in commit 259ecf6.
The temporal validation blocks for validTime, validTime, and samplingTime were
malformed - they were placed inside template literals instead of after the
featureType check, causing JavaScript syntax errors that prevented the file
from compiling and tests from running.
Test results after fix:
- PASS src/ogc-api/csapi/validation/geojson-validator.spec.ts
- All 22 temporal validation tests now passing
- No regressions introduced (same 5 pre-existing test suite failures)
Issue camptocamp#701 parent 259ecf6 commit 97f72ac
1 file changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
686 | 686 | | |
687 | 687 | | |
688 | 688 | | |
689 | | - | |
| 689 | + | |
| 690 | + | |
690 | 691 | | |
691 | 692 | | |
692 | 693 | | |
693 | 694 | | |
694 | 695 | | |
695 | | - | |
696 | 696 | | |
697 | 697 | | |
698 | 698 | | |
| |||
759 | 759 | | |
760 | 760 | | |
761 | 761 | | |
762 | | - | |
| 762 | + | |
| 763 | + | |
763 | 764 | | |
764 | 765 | | |
765 | 766 | | |
766 | 767 | | |
767 | 768 | | |
768 | | - | |
769 | 769 | | |
770 | 770 | | |
771 | 771 | | |
| |||
911 | 911 | | |
912 | 912 | | |
913 | 913 | | |
914 | | - | |
| 914 | + | |
| 915 | + | |
915 | 916 | | |
916 | 917 | | |
917 | 918 | | |
918 | 919 | | |
919 | 920 | | |
920 | | - | |
921 | 921 | | |
922 | 922 | | |
923 | 923 | | |
| |||
0 commit comments