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

Audit configuration in invalid state after upgrade

    Details

      Description

      After an upgrade from 12.0.0 to 13.0.0 the Audit configuration "Enable" switch does the opposite of what it's supposed to do.

      Steps to reproduce

      • Upgrade from 12 to 13
      • Navigate to Configuration | Global | Audit Logging
      • Enable Audit Logging

      Expected
      Audit logging is switched on and audit logs are produced.

      Actual
      No logs are produced. However if you repeat the process and Disable Audit Logging, the logs are produced.

      Dev note
      The problem is with the sequence in which the Service Listeners are notified of a configuration change. The Audit listener is notified first and will then refresh it's locally stored config from the SMS cache. The SerciveConfigManager is notified later and will refresh the SMS cache. This means the audit config is always in the previous state.

      We need to make sure that the SMS cache refresh is the first thing that happens to allow subsequent listeners to read from valid config cache.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jaco.jooste Jaco Jooste
                Reporter:
                jaco.jooste Jaco Jooste
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: