The issue (https://github.com/icgc-argo/argo-dictionary/issues/440) arises because the script treats the value 0 as falsy in the condition (!$field || $field === null || checkforEmpty($field)), so it incorrectly triggers the validation error.
postmortem comment: this PR removed a parenthesis that wraps the script, which we've realised was mandatory, and had to re-add afterwards. Tabs indentation is okay though, which is great for accessibility.
The issue (https://github.com/icgc-argo/argo-dictionary/issues/440) arises because the script treats the value
0
as falsy in the condition (!$field || $field === null || checkforEmpty($field)), so it incorrectly triggers the validation error.Steps To Test
Context:
Steps to test the behaviour:
0