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

Backport OPENIDM-7545: Setting viewable==false for manager attribute prevents rendering the New User dialog

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: OpenIDM 4.5.0
    • Fix Version/s: OpenIDM 4.5.1
    • Component/s: Module - Web UI
    • Labels:
      None

      Description

      Setting the manager attribute within the Managed User schema to viewable == false results in the 'New User' dialog within the Admin UI not rendering.

      The console shows the following error when clicking the 'New User' button:

      Uncaught Unknown editor for schema {"description":"","title":"Manager","viewable":false,"searchable":false,"userEditable":false,"policies":[],"returnByDefault":false,"minLength":null,"pattern":"","type":"relationship","reverseRelationship":true,"reversePropertyName":"reports","validate":true,"properties":{"_ref":{"type":"string"},"_refProperties":{"type":"object","properties":{"_id":{"type":"string","label":""}}}},"resourceCollection":[{"path":"managed/user","label":"User","query":{"queryFilter":"true","fields":["userName","givenName","sn"],"sortKeys":["userName"]}}],"propertyOrder":16}
      

      Tested with commit 4cfd52d722e4cd6327ba6ed6f4880b9ab8195a59.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              cgdrake Chris Drake
              Reporter:
              cgdrake Chris Drake
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: