-
Type:
Bug
-
Resolution: Done
-
Priority:
High
-
Affects Version/s: None
-
None
-
STOP TB Sprint 5
The application currently allows registering a child (Son/Daughter) with an age greater than or equal to the parent’s age, which is logically incorrect.
For example:
- Parent age: 45 years
- Child age entered: 46+ years
- System allows submission without any validation
Steps to Reproduce:
- Register a Household / Parent (Father/Mother) with age (e.g., 45 years)
- Add a Family Member as Son/Daughter
- Enter age greater than parent (e.g., 50 years)
- Submit the form
Expected Result:
- System should validate age relationship:
- Child’s age must always be less than parent’s age
- Proper validation message should be shown (e.g., “Child age cannot be greater than or equal to parent age”)
- Submission should be restricted
Actual Result:
- System allows invalid age entry
- No validation or error message is displayed