Closed p-a-s-c-a-l closed 4 years ago
Probably, because no country was selected. If this field is required, the form validation should be implemented or the save button should be disabled or at least the system should not crash.
Definitely the cause of this problem. Seems like we're having another issue with Dependent Fields. Bug was already reported, but so far no fix available. To me it seems like Dependent Fields are bypassing the default validation checks (or at least executed before them). For our other required fields (e.g. title or study goal) validation is triggered properly.
As a temporary fix, I will just set the first country in the list as the default placeholder. When I find the time I'll check if there is a way for us to handle the validation inside our csis-helpers module.
As a temporary fix, I will just set the first country in the list as the default placeholder.
I think we can live with that as a permanent fix. :-)
When editing and trying to save the study context at https://csis.myclimateservice.eu/group/109/edit/context?destination=/study/109/view/context, the following error occurred:
Probably, because no country was selected. If this field is required, the form validation should be implemented or the save button should be disabled or at least the system should not crash.