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

Settings of Mail and Scripting global service properties are overwritten at upgrade

    XMLWordPrintable

    Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 6.5.2.3
    • 6.5.4, 7.1.0, 7.0.1
    • upgrade
    • Rank:
      1|i010j3:i
    • AM Sustaining Sprint 76, AM Sustaining Sprint 77, AM Sustaining Sprint 78, AM Sustaining Sprint 79
    • 5
    • No
    • Yes
    • No
    • Yes and I used the same an in the description

      Description

      Bug description

      Global service properties are overwritten during upgrade

      How to reproduce the issue

      1. Configure AM 5.0.0
      2. Change service properties of global services that would be modified during update
      3. Upgrade to AM 6.5.2.3
      4. Check the service properties of the global services
      Expected behaviour
      values of existing service properties should be preserved / taken into account during upgrade
      
      Current behaviour
      Values of global services are overwritten
      

      I guess this issue applies to all version of (Open)AM.

      As an example , I updated global settings of the 'MailServer' service and the Java Class whitelist of the Scripting Engine configuration for the OIDC script, because an upgrade log showed ...

      * MailServer
              Modified attributeforgerockEmailServiceSMTPHostName
              Modified attributeforgerockEmailServiceSMTPUserPassword
              Modified attributeforgerockEmailServiceSMTPFromAddress
              Modified attributeforgerockEmailServiceSMTPUserName
              Modified attributeforgerockEmailServiceSMTPSSLEnabled
      
      * ScriptingService
              * scriptConfigurations
              * scriptConfiguration
                      Modified attributecontext
              Modified attributedefaultScriptContext
              * scriptContext
              * engineConfiguration
                      Modified attributewhiteList
      

      BTW the log output should also be corrected to include a blank

        Attachments

          Issue Links

            Activity

              People

              sachiko Sachiko Wallace
              bthalmayr Bernhard Thalmayr
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: