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

404 Errors: Non-GET Requests Evaluating as GET During Page Loads of Uncached Resources #930

Open
aaronskiba opened this issue Oct 16, 2024 · 2 comments

Comments

@aaronskiba
Copy link
Collaborator

Please complete the following fields as applicable:

What version of the DMPRoadmap code are you running? (e.g. v2.2.0)
4.1.1+portage-4.2.2

Expected behaviour:

  1. When changing the locale via the app's language selector, the request should always have the following format:
  • PATCH "/locale/en-CA" or PATCH "/locale/fr-CA"
  1. When clicking the "Sign in with institutional or social ID" button, the request should always have the following format:
  • POST "/users/auth/openid_connect"

Actual behaviour:
The following behaviour was encountered when selecting "Disable cache" and 3G throttling within Chrome DevTools
Screenshot from 2024-10-16 12-14-57

  1. When changing the locale via the app's language selector, while the page is still loading:
    Screenshot from 2024-10-16 11-49-46

  2. When clicking the "Sign in with institutional or social ID" button, while the page is still loading:
    Screenshot from 2024-10-16 11-50-05
    Screenshot from 2024-10-16 12-21-58

@aaronskiba
Copy link
Collaborator Author

The same unwanted behaviour is encountered in production.

@lagoan
Copy link
Collaborator

lagoan commented Oct 28, 2024

We can wait for upgrade to Rails 7 and if the issue persists, we will fix it upstream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants