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

Fix wrong userSortField in userManager test config deployed by the WebEngineFeature

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.6.0-HF09, 5.7.1
    • Component/s: Tests

      Description

      In /nuxeo-platform-test/src/main/resources/test-usermanagerimpl/userservice-config.xml, instead of:

      <userSortField>name</userSortField>

      which is an invalid field name for the user directory, we should have:

      <userSortField>username</userSortField>

      Otherwise the UserManager#searchUsers(String pattern) method will fail in tests using the WebEngineFeature that deploys this test config.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ataillefer Antoine Taillefer
                Reporter:
                ataillefer Antoine Taillefer
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 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