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

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

Closed
ianliuwk1019 opened this issue Sep 10, 2024 · 1 comment
Closed

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

ianliuwk1019 opened this issue Sep 10, 2024 · 1 comment
Labels
🐞 bug Something isn't working

Comments

@ianliuwk1019
Copy link
Collaborator

ianliuwk1019 commented Sep 10, 2024

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

  • No fetching or loading error.
  • Page is refreshed and page is still showing the content correctly.

Screenshots
See above description.

Additional context

  • Some other existing page refreshing is still good, but this page appears to have issue.
  • This could be likely due to Vue Router configuration or Vite setup, not yet clear where it is causing the issue as some other page refreshing are still good.
  • At the time of this issue ticket was written, the new component/page is just a placeholder (under construction).
@OlgaLiber2
Copy link
Collaborator

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

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

2 participants