Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-22749

after ui sign out /service/extdirect/poll/rapture_State_get does not use the Anonymous user status interval

    XMLWordPrintable

    Details

    • Notability:
      3

      Description

      There is a regression where the Anonymous user status interval value is not used to poll the ui after signing out as an authenticated UI user.

      Works
      1. Boot 3.19.1.
      2. Signin as admin. Anonymous user is enabled.
      3. Notice requests in the request.log to POST /service/extdirect/poll/rapture_State_get every 5 seconds ( the default value of the UI: Settings Authenticated user status interval value ).
      4. Sign out as admin. The UI page does not redirect to welcome page ( another bug NEXUS-22721 ). But the polling to POST /service/extdirect/poll/rapture_State_get will be every 60 seconds as expected by the Anonymous user status interval value.

      Broken
      1. Boot 3.20.1.
      2. Signin as admin. Anonymous user is enabled.
      3. Notice requests in the request.log to POST /service/extdirect/poll/rapture_State_get every 5 seconds ( the default value of the UI: Settings Authenticated user status interval value ).
      4. Sign out as admin. The UI page does not redirect to welcome page ( another bug NEXUS-22721 ). But the polling to POST /service/extdirect/poll/rapture_State_get will still be every 5 seconds instead of the expected Anonymous user status interval value of 60.

      Expected

      Unauthenticated users viewing the UI should always be polling at the interval configured for Anonymous user status interval in UI: Settings capability.

      Performance Impact Workaround

      Some of the administration UI can be expensive to poll every 5 seconds. If anonymous users are left polling every 5 seconds, this can have a performance impact in certain circumstances. To workaround this impact:

      1. Signin as admin user.
      2. Go to Administration -> System -> Capabilities
      3. Select UI: Settings capability. Click the Settings tab.
      4. Change the value of "Authenticated user status interval" to 60 from its default of 5.
      5. Click Save.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jtom Joe Tom
              Reporter:
              plynch Peter Lynch
              Last Updated By:
              Damian Bradicich Damian Bradicich
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title