-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Labels
Description
Description
While uploading individual data via CSV in the mlduat environment by client, the system is incorrectly accepting dates of birth (date_of_birth) that are in the future (i.e., greater than the current date). This results in invalid entries like 2086-06-26 being stored in the database.
Steps to Reproduce
- Go to the CSV upload for individual records in the
mlduatenvironment. - Upload a CSV file that contains a
date_of_birthfield with a date beyond today's date. - Run the following SQL query to verify:
SELECT i.date_of_birth FROM mlduat.individual i WHERE i.date_of_birth > CURRENT_DATE;
Expected Behavior
System should reject or throw a validation error when date_of_birth is greater than the current date.
Actual Behavior
System accepts future date_of_birth values and stores them in the database without any validation errors.
Environment
- Environment:
mlduat - Affected Table:
individual - Upload Method: CSV Import
Screenshot
Please prioritize this issue as it affects data integrity and reports age filters.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Hold