bcgov / entity

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

BUG: LTSA Details and Auto-approvals details go to empty pages #23645

Open rstens opened 1 week ago

rstens commented 1 week ago

Looking at https://strr-ui-dev.web.app/registration-details/110

The LTSA Information/View LTSA Details and Auto-Approval Logic/View Auto-Approval Details links redirect to empty pages.

screencapture-strr-ui-dev-web-app-application-details-110-ltsa-2024-10-03-11_31_25.png

https://strr-ui-dev.web.app/registration-details/110

https://strr-ui-dev.web.app/application-details/110/auto-approval

screencapture-strr-ui-dev-web-app-application-details-110-auto-approval-2024-10-03-11_32_28.png
jdyck-fw commented 1 week ago

This could be due to the autoapproval job not working well at the time, should be resolved now.

rstens commented 1 week ago

After further investigation and database record review, it turns out that when you are in the registration details page and click on the Auto-approval and LTSA links, it turns out that the url uses the registration_id instead of the application_id.

Use: https://strr-ui-dev.web.app/registration-details/113

screencapture-strr-ui-dev-web-app-registration-details-113-2024-10-08-10_05_48.png

Then click either Auto-Approval or LTSA details:

image.png

You see that it uses 113 to access the LTSA details, but the number to use is the application_id which is 101

image.png

Database Content of the events table:

image.png

Same issue for Auto-Approval Details:

image.png
rstens commented 1 week ago

@mbertucci Found the actual issue - Bug in UI. Back in Sprint Back log for you to prioritize.

mbertucci commented 5 days ago

Andy when you get a chance can you update the designs. We just need to know what happens when there is no information on these pages. We should also talk about the message.

rstens commented 8 hours ago

The reported bug has been fixed, it is actually retrieving the information. So instead of a completely blank page we now see the LTSA Header and The Auto Approval and info (If there is any). Suggest to close. @mbertucci

Now LTSA:

screencapture-strr-ui-dev-web-app-application-details-40758470928528-ltsa-2024-10-16-17_15_53.png

Auto Approval Details:

screencapture-strr-ui-dev-web-app-application-details-40758470928528-auto-approval-2024-10-16-17_16_42.png