The error message for the vital_status field is correct (vital_status is a required field). But the dependent fields (cause_of_death and survival_time) have the following error message: failed to run script validation, check script and input. This is happening because the script depends on the value of vital_status, but if it is missing, the script fails to run.
Expected behaviour
The error message for the cause_of_death and survival_time fields should be This field requires vital_status
Describe the bug
The clinical submission system throws an unexpected error for fields that are dependent on a required field that is missing in the file.
Steps To Reproduce
The error message for the
vital_status
field is correct (vital_status is a required field
). But the dependent fields (cause_of_death
andsurvival_time
) have the following error message:failed to run script validation, check script and input.
This is happening because the script depends on the value ofvital_status
, but if it is missing, the script fails to run.Expected behaviour
The error message for the
cause_of_death
andsurvival_time
fields should beThis field requires vital_status