ohcnetwork / care_fe

Care is a Digital Public Good enabling TeleICU & Decentralised Administration of Healthcare Capacity across States.
https://care.ohc.network
MIT License
250 stars 432 forks source link

Error while registering ABHA Address (if the same address is used elsewhere) #8423

Closed aparnacoronasafe closed 3 weeks ago

aparnacoronasafe commented 2 months ago

Describe the bug I tried generating ABHA for a patient with an Aadhaar that is already registered with ABHA and I also used an ABHA address that's already used elsewhere

To Reproduce Steps to reproduce the behavior:

  1. Go to 'patient dashboard'
  2. Click on 'Generate ABHA'
  3. Add an Aadhar no. that's already used to register ABHA before.
  4. Once Aadhaar no and phone number is verified through OTP, and you reach final step of choosing an ABHA address, type in an address that is already used elsewhere.
  5. The error message shows a mix of text and numbers and the ABHA address is not registered.

Expected behavior

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

khavinshankar commented 2 months ago

This issue will be fixed in #8340.