Invalid Age Validation for Family Relationships (Elder Members Can Have Lower Age)

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: High
    • 2.2
    • Affects Version/s: None
    • None

      The system does not enforce proper age validation based on family relationships.

      Currently, while adding family members, it allows elder relationships (such as Father, Mother, Grandfather, Grandmother, Father-in-law, Mother-in-law, etc.) to be registered with an age less than younger members (e.g., son/daughter).

      This results in logically incorrect family hierarchy data.

      Steps to Reproduce

      1. Register a beneficiary (e.g., Son) with age 25 years
      2. Add a new family member with relationship:
        • Father / Mother / Grandfather / etc.
      3. Enter age less than 25 (e.g., 20 years)
      4. Submit the form

      Actual Result

      • System allows saving the record
      • Elder family member has lower age than younger member

      Expected Result

      • System should enforce relationship-based age validation
      • Elder roles must have greater age than dependent roles
      • Proper validation message should be shown, e.g.:
        "Selected relationship requires age to be greater than existing family member"

       

              Assignee:
              Sehjot Singh
              Reporter:
              Nidhi Saini
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: