Multiple Clicks Allowed on Action Button Leading to Duplicate DB Entries

XMLWordPrintable

    • Type: Bug
    • Resolution: Done
    • Priority: High
    • 2.0
    • Affects Version/s: None
    • None
    • STOP TB Sprint 4, STOP TB Sprint 5

      The action button (e.g., Submit Referral) is clickable multiple times. On repeated clicks, the system processes the request multiple times, resulting in duplicate entries being created in the database.

      Steps to Reproduce:

      1. Navigate to the respective module screen
      2. Click on the action button (e.g., Submit referral)
      3. Immediately click the same button multiple times
      4. Observe system behavior

      Expected Result:

      • Button should be clickable only once
      • After first click:
        • Button should be disabled OR
        • Loader should be shown OR
        • API call should be locked until response is received
      • Only one entry should be created in DB

      Actual Result:

      • Button remains clickable multiple times
      • Multiple API calls are triggered
      • Duplicate records are created in the database

      MicrosoftTeams-video (14).mp4

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

                Created:
                Updated:
                Resolved: