Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-9571

"Not found error" displayed for Managed/Assignment UI at browser console



    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: OpenIDM 6.0.0
    • Fix Version/s: OpenIDM 6.0.0
    • Component/s: _Samples, Module - Web UI
    • Labels:
    • Environment:
      Linux Mint 16.04, Chrome 61.0.3163.91(64-bit), Firefox 56.0, OpenIDM version "6.0.0-SNAPSHOT" (revision: f6c6759), OpenDJ "6.0.0-SNAPSHOT" (build id: 20171025084135)


      When add the attribute "ldapGroups" to some an assignment or open details of an assignment which have attribute "ldapGroups" at Web UI so browser console displayed error and value of "ldapGroups" attribute was not displayed.

      Case 1:

      Demonstrate with the sample 5 - Synchronizing LDAP Groups for add the attribute "ldapGroups".
      Steps to reproduce:

      1. Setup OpenDJ
        ~/opendj/setup  directory-server  --rootUserDN "cn=Directory Manager"  --rootUserPassword password  --hostname localhost  --ldapPort 1389  --adminConnectorPort 4444  --baseDN dc=com  --ldifFile ~/openidm/samples/sync-with-ldap-groups/data/Example.ldif  --acceptLicense 
      1. Running the sample
        openidm/startup.sh -p samples/sync-with-ldap-groups/
      1. Visit and login to https://localhost:8443/admin page
      2. Navigate to the Manage > Assignment
      3. Create new assignment - click on the New Assignment and fill required e.g.:
        • Assignment name: ldapGroupsTest
        • Description: For ldapGroupsTest.
        • Mapping: managedUser_systemLdapAccounts
        • Click on the Save button
      4. Select the Attributes tab
      5. Click on the Add an attribute button ant then select "ldapGroups" at list

      Expect result: "ldapGroups" should be selected and place for value should be displayed like at screenshot without error at browser console.

      Actual result: "ldapGroups" was selected and place for value displayed correctly but browser console shown the error.

      Case 2:

      Demonstrate with the sample 5 - Synchronizing LDAP Groups for open details Assignment with "ldapGroups" attribute.
      Steps to reproduce:

      1. Must done steps of Case 1 steps to reproduce
      2. Click on "+ item" button and select "string" for item 1
      3. Enter "cn=com,dn=TestValue" to the field for value "ldapGroups" attribute
      4. Click on Save button
      5. Clear Browser console and network
      6. Navigate to Manage > Assignment
      7. Click on the "ldapGroupTest" assignment item for view details
        • Actual result: Browser console displayed error. Error message was displayed
        • Expect result: Error message should not be displayed. Browser console should not displayed errors.
      8. Select Attributes tab
        • Expect result: "ldapGroups" attribute should be correctly displayed - with displayed value for "ldapGroups" attribute.
        • Actual result: "ldapGroups" value was not displayed.
        • Result from rest client: http://localhost:8080/openidm/managed/assignment?_queryFilter=true
              "result": [
                      "_id": "77e916ae-729b-4d37-b43c-d9633b0e4f91",
                      "_rev": "00000000a1a1c4bc",
                      "name": "ldapGroupsTest",
                      "description": "For ldapGroupsTest.",
                      "mapping": "managedUser_systemLdapAccounts",
                      "attributes": [
                              "assignmentOperation": "mergeWithTarget",
                              "name": "ldapGroups",
                              "unassignmentOperation": "removeFromTarget",
                              "value": [
              "resultCount": 1,
              "pagedResultsCookie": null,
              "totalPagedResultsPolicy": "NONE",
              "totalPagedResults": -1,
              "remainingPagedResults": -1


        1. CorrectPlaceForValue.png
          30 kB
        2. localhost-1509098160623.log
          0.7 kB
        3. MissingValueLdapGroups.png
          41 kB
        4. NetworkError.png
          42 kB
        5. NotFoundError.png
          2 kB
        6. SaveLdapGroupTestAttribute.png
          30 kB

          Issue Links



              jason.browne Jason Browne [X] (Inactive)
              miroslav.meca Miroslav Meca
              QA Assignee:
              Miroslav Meca Miroslav Meca
              0 Vote for this issue
              2 Start watching this issue