-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Y24-052 [BUG] Dropdown list dependencies #4076
Comments
Thinking about adding validation server-side to enforce the relationship between data_release_strategy and data_relese_timing. There are many existing studies in the database that would not satisfy the new validation:
Could be worth checking the validation assumptions are correct with customers before implementing, and then discussing what to do with these existing studies. |
Created #4084 to track the investigation into the dodgy Studies data, and the turning on of the server-side validation feature flag. |
Fuller query to produce report for Liz C:
|
Describe the bug
Sequencescape has two 'edit' pages for Studies - the standard one, and one for admins. The standard one has logic that restricts the available values in one field based on the value selected in a different list. The admin one does not obey this same logic, which can lead to undesired data combinations.
To Reproduce
Steps to reproduce the behaviour:
Expected behaviour
The value of "What is the data release strategy for this study?" should control the possible options for the field "How is the data release to be timed?", consistently in all creation and edit screens, so as to prevent undesired combinations of these two fields.
Screenshots
Screenshot showing incorrect behaviour:
Additional Context
This was found while researching #4024, and is believed to be the root cause of the issue.
The text was updated successfully, but these errors were encountered: