Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-20931

Check if an user or group id is blank before getting the related information

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.10
    • Fix Version/s: 7.10-HF18, 9.1
    • Component/s: Seam / JSF UI
    • Release Notes Summary:
      The application does not query for entries with an empty id to avoid warning in the logs
    • Tags:
    • Backlog priority:
      100

      Description

      UserSuggestionActionsBean#getUserInfo calls userManager.getGroup(id) without testing if the id is empty. This causes a warning in the logs, which could be avoided

      WARN  [LDAPSession] The application should not query for entries with an empty id => return no results
      

      The above method getPrefixedUserInfo does this check before going on

              if (!StringUtils.isBlank(id)) {
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h