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

Viewing roles on a user with empty temporalConstraint array fails

    Details

    • Target Version/s:
    • Verified Version/s:
    • Story Points:
      2
    • Sprint:
      IAM - UI 2019.15
    • Support Ticket IDs:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: