Skip to content
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

[new_profile] the "Minimum candidate age" value for the 'Date of Birth' and 'Date of Birth Confirm' fields do not reflect the changes. #8564

Closed
shonibare opened this issue Apr 5, 2023 · 4 comments
Assignees
Labels
25.0.0 - Bugs Category: Bug PR or issue that aims to report or fix a bug

Comments

@shonibare
Copy link
Contributor

To Reproduce
Steps to reproduce the behavior (attach screenshots if applicable):

  1. Go to the 'Configuration' module, change the "Minimum candidate age" value
  2. Then go to the 'New profile' module to create a new candidate
  3. Enter DOB below the minimum age value entered in Step 1 and fill other fields
  4. Then click submit

What did you expect to happen?

  • It should pop-up error that the candidate's DOB entered is below the minimum age

Browser Environment (please complete the following information):

  • OS: [e.g. Plan9, HURD, Oberon, etc]
  • Browser [e.g. chrome, firefox] (note that only these two browsers are supported)
  • Version [e.g. 22]

Server Environment (if known):
Note: We only support the most recent release of LORIS.

  • LORIS Version: [e.g. 22.0.0]
  • Linux distribution and Version: [e.g. Ubuntu 16.04, CentOS 7]
  • MySQL/MariaDB Version: [e.g. MySQL 5.7, MariaDB 10.3]

Additional context
related to #8516

@shonibare shonibare added Category: Bug PR or issue that aims to report or fix a bug 25.0.0 - Bugs labels Apr 5, 2023
@shonibare shonibare mentioned this issue Apr 5, 2023
14 tasks
@xlecours
Copy link
Contributor

Which changes should be reflected?

@shonibare
Copy link
Contributor Author

Which changes should be reflected?

When the date of birth below the minimum age is entered the form shouldn't save and pop an error message according to the test plan but it saves

@ridz1208
Copy link
Collaborator

@shonibare the minimum age is dependent on the enddate of the study
to check what the accepted range age you can inspect the date element and see it in the html

I recommend you go and play around the startdate/end date of the study as well as the ages to see how it works

@shonibare
Copy link
Contributor Author

@shonibare the minimum age is dependent on the enddate of the study to check what the accepted range age you can inspect the date element and see it in the html

I recommend you go and play around the startdate/end date of the study as well as the ages to see how it works

@ridz1208 I just understood how it works. I will close this issue. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
25.0.0 - Bugs Category: Bug PR or issue that aims to report or fix a bug
Projects
None yet
Development

No branches or pull requests

3 participants