Uploaded image for project: 'Grouper'
  1. Grouper
  2. GRP-2369

configuration.detect.errors does more than what documentation/base config says

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 2.4.0
    • grouperInstaller
    • None
    • CentOS 7.7
      Java jdk1.8.0_162

    Description

      Hello,

      While upgrading from 2.2.2 to 2.4.0 I had errors about missing attributes 'etc:attribute:attestation:attestation' and 'etc:attribute:instrumentationData:instrumentationDataInstances'. It took me some time to find this page https://todos.internet2.edu/si/jira.issueviews:issue-html/GRP-1921/GRP-1921.html that suggests 'configuration.detect.errors' configuration parameter might be the solution.

      After setting 'configuration.detect.errors' to true and restarting grouper, the grouper_error.log shows missing attributes have been created.

      The current grouper.base.properties says:
      ```
      #if grouper should try and detect and log configuration errors on startup
      #in general this should be true, unless the output is too annoying or if it is causing a problem

      1. {valueType: "boolean", required: true}
        configuration.detect.errors = true
        ```

      It REALLY should also tell this configuration parameter is required during upgrade process.

      Attachments

        Activity

          People

            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            olivier.salan.3@at.internet2.edu Olivier Salaün
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: