Bug #7900
Bastion pages fail to load due to error in CurrentUser JSON
Description
Uncaught SyntaxError: Unexpected token
angular.js?body=1:1037
Uncaught Error: [$injector:modulerr] Failed to instantiate module Bastion.activation-keys due to:
Error: [$injector:modulerr] Failed to instantiate module Bastion due to:
Error: [$injector:unpr] Unknown provider: BastionConfig
http://errors.angular...<omitted>...1)
Related issues
Associated revisions
History
#1
Updated by The Foreman Bot over 7 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/4733 added
- Pull request deleted (
)
#2
Updated by Eric Helms over 7 years ago
- Has duplicate Bug #7901: Pages fail to load correctly added
#3
Updated by Eric Helms over 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|7f6af41a08febb367b9d04f05c93956f7c5abc63.
Fixes #7900: Bastion pages couldn't load due to unparseable User.to_json
A change to the User model led some fields to be unparseable when
User.current.to_json is done within the layout. This reduces the fields
to only those specifically needed by the UI.