Doubt about validation #493
-
Good Morning Lab ! id : I do understand the error, what I do not understand is why I did not get this error by validation. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The validation API has 2 validation mode : "static" and "dynamic". The default mode is static, but eNotices2 uses the dynamic mode when a notice is submitted for publication. The "dynamic" mode has all the validation rules from the "static" mode, plus rule that depend on information outside of the notice being validated. As indicated in the page for the "Preview" environment, currently the only additional rules in "dynamic" is the check on the dispatch date (BT-05) (which corresponds to the error you got). For this rule the information outside of the notice is the current date. |
Beta Was this translation helpful? Give feedback.
The validation API has 2 validation mode : "static" and "dynamic".
See the docs for the corresponding parameter at https://docs.ted.europa.eu/api/endpoints/cvs-ted-europa-eu.html#InputNoticeValidation
The default mode is static, but eNotices2 uses the dynamic mode when a notice is submitted for publication.
The "dynamic" mode has all the validation rules from the "static" mode, plus rule that depend on information outside of the notice being validated. As indicated in the page for the "Preview" environment, currently the only additional rules in "dynamic" is the check on the dispatch date (BT-05) (which corresponds to the error you got). For this rule the information outside of the notice…