bcgov / nr-forests-access-management

Authorization solution for BC natural resource sector
Apache License 2.0
8 stars 2 forks source link

Frontend - Browser refreshing on certain path is broken. #1588

Closed ianliuwk1019 closed 1 week ago

ianliuwk1019 commented 1 month ago

Describe the bug During implementing frontend new navigation to user detail (new history) page (#1542), it appears there is an issue when refreshing the browser the page is completely broken.

The intended path (on browser address bar) for the new page/route is http://localhost:5173/user-details/users/9/applications/2. User refreshes the page, will triggers the application to issue request to backend with 404 error. It can be seen from the network tab that the application is getting a resource with wrong requesting path: image

One other observation is this does not happen on other existing page when refreshing the browser.

Expected behavior

Screenshots See above description.

Additional context

OlgaLiber2 commented 1 week ago

Shouldn't happen after refactoring work (tickets #1540).