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


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


      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).




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


              • Created: