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

Relationships, having "returnByDefault=true" flag set, are not being included in oldObject/newObject values at onUpdate() trigger level when "_fields" is specified

    XMLWordPrintable

    Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 7.1.0, 7.0.2
    • None
    • Module - Relationships
    • None

      Description

      Relationships ,which are being returned based on "returnByDefault=true" flag set for them,  are not being included in oldObject/newObject values available at onUpdate() trigger level when "_fields" parameter is specified with a value.

      "oldObject" value that is passed within an onUpdate trigger is being affected by _fields value. If manual changes are done on user then relationships, for example manager field (had to set "returnByDefault" to "true" to get it), is being returned correctly but if same changes are done thru REST PATCH command using a value for _filter then oldObject value is being curtailed too and it does not show relationships attributes like manager field any more. This is happening for newObject value too.

       

       

        Attachments

          Issue Links

            Activity

              People

              dhogan Dirk Hogan
              devesh.nautiyal Devesh Nautiyal
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated: