portagenetwork / roadmap

Developed by the the Alliance in collaboration with University of Alberta, DMP Assistant a data management planning tool, forking the DMP Roadmap codebase
MIT License
6 stars 1 forks source link

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

Open aaronskiba opened 2 hours ago

aaronskiba commented 2 hours ago

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"
  2. 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 commented 2 hours ago

The same unwanted behaviour is encountered in production.