Counselling Consent Data Inconsistency

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: High
    • 2.0
    • 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

      1. Open TB Confirmed List
      2. Select a beneficiary → Click Counselling
      3. Select:
        • Consent = No
        • Enter reason for refusal
        • Submit
      4. Re-open same beneficiary
      5. Change:
        • Consent = Yes
        • Submit form
      6. Verify status shows "Counselled"
      7. Clear app cache
      8. Login again
      9. 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

        1. image-2026-07-20-18-11-33-214.png
          67 kB
          Nidhi Saini
        2. image-2026-07-20-18-11-54-388.png
          54 kB
          Nidhi Saini
        3. image-2026-07-20-18-12-14-092.png
          57 kB
          Nidhi Saini
        4. image-2026-07-20-18-17-18-008.png
          93 kB
          Nidhi Saini

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

                Created:
                Updated: