bcgov / entity

ServiceBC Registry Team working on Legal Entities
Apache License 2.0
23 stars 58 forks source link

Affidavit submission allows multiple clicks, generating duplicate data in logs #23860

Open sandragornall opened 2 hours ago

sandragornall commented 2 hours ago

A user clicked to submit an affidavit multiple (90+!) times, creating duplicate data in the logs.

This is the API call:

https://auth-api-prod-758264625079.northamerica-northeast1.run.app/api/v1/users/c0fe131d-e74f-483e-a4d6-5626787d8473/affidavits

We should test to see if we can reproduce this bug in the test environment. We can plan to address this in the UI updates if needed.

fareenr commented 2 hours ago

As requested from the standup meeting this morning, I created a new BCeID account in the TEST env and uploaded the affidavit document about 20 times (tried changing the document and re-uploading multiple times, clicking on Next and then the Back button and then re-uploading, which causes the user to lose account name data already input, removing the document completely and then re-uploading) and was able to complete the account submission (approx time of acct creation 9:58 AM PST - account name FAIREE TEST ACCOUNT).

@andriy Please check logs and see if the same data errors as prod were generated.