bcgov / tfrs

Transportation Fuels Reporting System
Apache License 2.0
23 stars 40 forks source link

TFRS - Modal window bug when completing actions in TFRS jan release test environment #2748

Closed justin-lepitzki closed 8 months ago

justin-lepitzki commented 10 months ago

Describe the Bug

Expected Behaviour When a user takes an action, such as signing and sending a new transfer, the system should respond by confirming that the transfer has been sent (green success alert) and then take the user back to the main transactions table.

Actual Behaviour When a user takes an action, such as signing and sending new transfer, the system does not respond. The user remains on the new transfer page and there is no green success alert message. Refreshing the page or navigating manually to the transactions page shows that the new transfer did in fact successfully send (i.e., save in database and status change)

Screenshot of console error: Private Zenhub Image

Implications It appears like the system is not successfully completing actions.

Steps To Reproduce Steps to reproduce the behaviour: User/Role: BCeID user, transfer & Signing authority roles

  1. Go to Transactions page
  2. Click on New Transfer button
  3. Fill out required fields
  4. Click on Sign & Send button
  5. Click on Sign & Send button again within the modal window
  6. See error
prv-proton commented 9 months ago

Hey team! Please add your planning poker estimate with Zenhub @AlexZorkin @jig-patel @kevin-hashimoto @prv-proton @hamed-valiollahi

hamed-valiollahi commented 9 months ago

@AlexZorkin I tested the code from the jan-2024 branch on my local using the same test environment database, and it worked fine. I also asked Kuan about any differences between the different environments, but everything seems similar. I've already sent you the logs. I'd appreciate it if you could check into this issue. Please let me know if you need any additional information.