Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-13402

Race condition in switch realm page display can sometimes result in displaying a login page

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.0.0, 6.5.0, 7.0.0
    • Fix Version/s: 6.5.2, 7.0.0
    • Component/s: XUI
    • Labels:
    • Sprint:
      2019.4 - Coins, 2019.5 - Scissors, AM 2019.6 - Lathe

      Description

      Bug description

      The current mechanism for displaying the switch realm page is not always reliable, which means that it is possible that the login page is loaded instead. The issue appears to be in SiteConfigurationService.js where the switch realm is displayed by using window.location.replace, however the JavaScript processing does not always stop there, as the change of the location may take a while to get realized.

      How to reproduce the issue

      Execute SwitchRealmTest and UserAuthenticatedTest functional tests.

      Expected behaviour

      The tests always pass.

      Current behaviour

      The tests randomly fail.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                julian.kigwana@forgerock.com Julian Kigwana [X] (Inactive)
                Reporter:
                peter.major Peter Major [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: