freeipa-webui
freeipa-webui copied to clipboard
Page refresh on user details leads to blank page and error message
Description of a problem
When refreshing the page on user settings (via F5 or browser's refresh button), the page loads into blank state and following errors are shown in the console:
The stylesheet https://ipa.demo-modernui.freeipa.org/ipa/modern_ui/active-users/app.css was not loaded because its MIME type, "text/html", is not "text/css". [settings](https://ipa.demo-modernui.freeipa.org/ipa/modern_ui/active-users/settings)
Uncaught SyntaxError: expected expression, got '<'
[app.bundle.js:1:1](https://ipa.demo-modernui.freeipa.org/ipa/modern_ui/active-users/js/app.bundle.js)
Uncaught SyntaxError: expected expression, got '<'
[vendor.bundle.js:1:1](https://ipa.demo-modernui.freeipa.org/ipa/modern_ui/active-users/js/vendor.bundle.js)
Steps to reproduce
- Open the user details for any user
- Press F5 or browser's refresh button
Expected behaviour:
The page is reloaded at the current context
Actual behaviour:
The page errors into blank state