[OPENAM-6293] XUI freezes at startup when serverinfo service call fails Created: 03/Jul/15  Updated: 20/Nov/16  Resolved: 22/Jul/15

Status: Resolved
Project: OpenAM
Component/s: XUI
Affects Version/s: 12.0.0, 12.0.1, 13.0.0
Fix Version/s: 12.0.2, 12.0.3, 13.0.0

Type: Bug Priority: Major
Reporter: Phil Ostler [X] (Inactive) Assignee: Phil Ostler [X] (Inactive)
Resolution: Fixed Votes: 1
Labels: AME, TESLA, release-notes
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
is duplicated by OPENAM-5999 XUI hangs with "Loading ..." when rec... Resolved
relates to OPENAM-6340 XUI needs to support DNS/Alias behavi... Open
is related to OPENAM-8844 When serverinfo service call fails, i... Open
is related to OPENAM-6000 Accessing XUI through a FQDN that is ... Resolved
Target Version/s:
Sprint: Sprint 90 - Team Tesla
Support Ticket IDs:
Verified Version/s:


This bug appears when the server returns a failure code from the initial serverinfo call.

This failure scenario triggers the adding of a Message to the view, which in turn attempts to retrieve a piece of text via the i18n system. However, the i18n system only gets initialised further along in the startup sequence so this op results in a $.t is undefined and XUI appears to freeze.

The startup sequence needs to be examined to work out a startup process that ensures the i18n system is already loaded if an error message is in need of being displayed

Comment by Supporto Applicativo [ 07/Jul/15 ]

this also affects version 12.0.0

Comment by Peter Major [X] (Inactive) [ 22/Jul/15 ]

For future references: the fix depends on changes made to the commons/forgerock-ui: https://stash.forgerock.org/projects/COMMONS/repos/forgerock-ui/pull-requests/8/overview

Comment by Peter Major [X] (Inactive) [ 23/Jul/15 ]

Backported with https://stash.forgerock.org/projects/COMMONS/repos/forgerock-ui/pull-requests/9 and R14788

Comment by Nemanja Lukic [ 02/Oct/15 ]

Steps to reproduce please?

Comment by Richard Hruza [ 05/May/16 ]

Verified: OpenAM 12.0.3-RC2 Build 4dbe218a05 (2016-April-25 17:57)

Steps to reproduce:

1.) Enable tamper data (firefox or chrome plugin to modify requests and headers)
2.) Hit the /openam/XUI/#login/
3.) Block the request /openam/json/serverinfo/* with tamper
AM 12.0.1 it freeze
AM 12.0.3 you can see login page

Comment by Richard Hruza [ 05/May/16 ]

This fix create a new issue: OPENAM-8844

Generated at Sat Oct 24 06:46:20 UTC 2020 using Jira 7.13.12#713012-sha1:6e07c38070d5191bbf7353952ed38f111754533a.