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

Viewing roles on a user with empty temporalConstraint array fails

    XMLWordPrintable

    Details

    • 2
    • IAM - UI 2019.15

      Description

      When viewing the mapped roles from a user via the Admin UI, /opt/openidm/ui/admin/default/org/forgerock/openidm/ui/admin/role/MembersView.js
      fails with error

      Uncaught TypeError: Cannot read property 'duration' of undefined
      

      This happens when the TemporalConstraint is an empty array and line 140 only checks if it is an array before trying to get the first element.

        Attachments

          Activity

            People

            oliver.bradley Oliver Bradley
            becky.maund Becky Maund
            Son Nguyen Son Nguyen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: