Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-4251

Guard against NPE in DefaultSyncConfig.Authorizable.setAutoMembership

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 1.5.2, 1.6.0
    • auth-external
    • None

    Description

      while writing tests for DefaultSyncConfig I run into an NPE when passing null as one of the group names to setAutoMembership due to the fact that the method trims any input and omits empty-string values. Additionally checking for null is trivial and would make sense to me.

      Attachments

        Activity

          People

            angela Angela Schreiber
            angela Angela Schreiber
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: