1. Ticket Details

FieldDescription
Ticket IDAMM-1889
SeverityBUG
CategoryBug
Affected Module / FeatureECD

2. Issue Description


3. Root Cause Analysis (RCA)

During the call closure process, the system enforced a preferred language validation between the Associate and the Beneficiary:

This caused the system to treat already allocated records as unallocated, allowing them to reappear on the ECD Supervisor dashboard.

Why the Issue Occurred

Resolution / Fix Applied

Conclusion

The issue was caused by enforcing language validation during call closure, which unintentionally reset the allocation status. By removing the language checks at the closure stage, the allocation flow remains consistent, preventing duplicate allocations and incorrect call categorization.

 






4. Corrective Actions (Fixes for this instance)

ActionOwnerTarget DateStatus
  • Implement checkKeyExists in tm-api to validate the session/login key and optionally the IP. Update preHandle to call this method for requests with authorization headers and return USERID_FAILURE (5002) for invalid or missing keys, avoiding fallback to common-api. Add logging for failed validations including userId, IP, and timestamp. Test the flow to ensure invalid or missing keys are blocked and proper status codes are returned.



Developer

 

Completed



5. Preventive Actions (To prevent recurrence)

ActionOwnerTarget DateStatus
  • Include session expiry test cases in regression suite.

QA



6. Verification of Effectiveness


7. Lessons Learned


8. CAPA Review & Closure

Reviewed ByDateRemarks