freeipa-webui icon indicating copy to clipboard operation
freeipa-webui copied to clipboard

Page refresh on user details leads to blank page and error message

Open miskopo opened this issue 1 year ago • 0 comments

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

  1. Open the user details for any user
  2. 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

miskopo avatar Jan 31 '24 12:01 miskopo