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

Backport OPENIDM-8418: Some variables are not available to some managed script handlers

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: OpenIDM 5.5.0
    • Fix Version/s: OpenIDM 5.0.0.2
    • Component/s: Module - Scripting
    • Labels:
    • Environment:
      OpenIDM version "5.5.0-SNAPSHOT" (revision: 3f17d5d)

      Description

      Some variables are not available to some managed script handlers

      This issue is a follow-up of OPENIDM-3018 where variable "context" was identified as missing for some handlers.
      I did an analysis of all the handlers of managed.json for the following variables: context, resourceName and request.

      According to the documentation: "The standard variables, context, resourceName and request are available to all scripts" but some triggers from managed.json don't provide some variable.

      Here is the list of missing variables:

      • managed object config object / onStore: resourceName
      • managed object config object / onValidate: resourceName
      • property object / onRetrieve: resourceName and request
      • property object / onStore: resourceName and request
      • property object / onValidate: resourceName, request, and context

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mark.offutt Mark Offutt
                Reporter:
                mark.offutt Mark Offutt
                QA Assignee:
                Jakub Janoska
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: