-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
High
-
Affects Version/s: None
-
None
-
STOP TB Sprint 4
There is a data inconsistency issue in the counselling flow when handling consent selection and form submission.
When a beneficiary is initially marked as "Refused", and then later updated to "Yes" (Consent Given) and submitted, the application shows "Counselled" status correctly.
However, after clearing the app cache and logging in again:
- The outer status still shows "Counselled"
- But inside the counselling form:
- "No" (Refused) remains selected
- Previously saved form data is still present
Steps to Reproduce
- Open TB Confirmed List
- Select a beneficiary → Click Counselling
- Select:
- Consent = No
- Enter reason for refusal
- Submit
- Re-open same beneficiary
- Change:
- Consent = Yes
- Submit form
- Verify status shows "Counselled"
- Clear app cache
- Login again
- Open same beneficiary counselling form
Actual Result
- Status shows Counselled
- Inside form:
- Consent shows "No" selected
- Old refusal data still present
Expected Result
- Consent selection should reflect latest submission (Yes)
- Refusal data should be cleared or updated accordingly
- UI status and form data should remain consistent after cache clear

Enhancement Suggestion
"Reason for Refusal" field partially hidden behind "Start Counselling" button.
Expected Result
- The "Reason for Refusal" field should be fully visible
- No overlap with any button

- blocks
-
STOP-240 Work on the Counselling module as per PRD changes
-
- In QA
-