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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 7.0.0, 6.5.0.1
    • 7.0.0
    • Module - Web UI
    • 2
    • UI - Painite - 2020.5

    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

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

            Dates

              Created:
              Updated:
              Resolved: