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

Misleading admin UI behaviour when creating an onValidate hook for a relationship type of property

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.0.0, 6.5.0.1
    • Fix Version/s: 7.0.0
    • Component/s: Module - Web UI
    • Labels:
    • Target Version/s:
    • Verified Version/s:
    • Story Points:
      2
    • Sprint:
      UI - Painite - 2020.5
    • Support Ticket IDs:

      Description

      When creating an onValidate hook for a relationship type of property (for example for the members property of the managed role object) in the admin UI, the new hook definition (and relevant script or inline code) is not saved, while there's no evidence of that.

      More specifically, the behaviour is slightly different between OpenIDM 6.5.1 and 7.0:

      • with IDM 6.5.1: after hitting the "save" button in the admin UI, nothing is actually saved in the managed role schema (managed.json file) but no error is shown in the UI.
      • with a (one month old or so) IDM 7 build, it's slightly different: nothing is saved but a couple of (conflicting) popup windows are displayed: a green one to confirm the new configuration was saved, and a yellow one to say something went wrong (??..)

      BTW, a use case for validating a relationship type of attribute is for example to manage conflicting roles (preventing a user from being assigned roles considered (by some business logic) as conflicting).

        Attachments

          Activity

            People

            • Assignee:
              huck.elliott Huck Elliott
              Reporter:
              cgrosjean Cyril Grosjean
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: