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

Backport OPENIDM-12309: "require" javascript changes are not picked up by IDM 6.5

    XMLWordPrintable

Details

    Description

      The changes made to a "require" javascript are no longer picked up by IDM 6.5. The same change is detected and loaded in IDM 6.0.

      To reproduce this:

      1. Insert a logger statement in bin/defaults/script/onCreateUser.js at line 13.

       11 (function () {
       12     exports.setDefaultFields = function (object) {
       13         logger.error("testing script change");
       14         if (!object.accountStatus) {
       15             object.accountStatus = 'active';
       16         }
      

      2. Wait the default 60 seconds. Create a new user in IDM, the logger message doesn't appear.

      3. Restart IDM, and create a new user. The logger message appears.

      Attachments

        Issue Links

          Activity

            People

              patrickdiligent patrick diligent
              mark.offutt Mark Offutt [X] (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: