Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Payer App] App fails to advance during beneficiary registration process #142

Open
wjaleks opened this issue Oct 16, 2023 · 2 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@wjaleks
Copy link

wjaleks commented Oct 16, 2023

Description of the bug
The app fails to advance from "Identite" step in certain situations during beneficiary registration process.

To reproduce the bug

  1. Begin Patient registration process
  2. Advance to Summary / "Details du Patient" step.
  3. Click the back arrow next to "Details du Patient"
  4. This takes you back to step 1 "Add a beneficiary" [Note: we should be consistent with use of terms (e.g., beneficiary vs patient). Let's use beneficiary throughout (replace patient with beneficiary)]
  5. click "add beneficiary"
  6. this advances to the step to enter beneficiary info. All info is autofilled from previous beneficiary information except for "Choisissez le pays"
  7. Re-select country
  8. Click Suivant [the app does not advance]

Expected behavior
The app should advance at step 8 above.

Screenshots
Here's a link to a video of the issue: https://drive.google.com/drive/u/1/folders/1D1_gWniaYmZzRQnSBkwOufIzdKjImsrI

Smartphone (please complete the following information):

  • Device: iPhone 12
  • OS: iOS 16.16.1
  • Browser: Chrome
  • Version 118.0.5993.69
@wjaleks wjaleks added the bug Something isn't working label Oct 16, 2023
@wjaleks
Copy link
Author

wjaleks commented Nov 9, 2023

Any update on this?

@artweb11
Copy link
Contributor

  • This happens because once you advance to pay screen, the patient is inserted into the DB. when you go back, the patient already exists, so it cannot be added again. This is visible on desktop, but the error message does not seem to be seen on mobile version.
    Fixing:
  1. adding a way to edit the added patient ( keeping the patient id in react frontend when going back ) then update it instead of inserting it.
  2. Making sure the toast errors are seen on mobile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants