Skip to content
Snippets Groups Projects
Open Add object field name for nested array objects in audit events
  • View options
  • Add object field name for nested array objects in audit events

    • View options
  • Open created by Jano Hendriks

    If an array of objects has an array of objects, add the field name and index for the objects in the deeper array.

    For example ObjectA has an array of ObjectB, and ObjectB has an array of ObjectC. The change log will look like this:

    // Array of objects
    // ["TimeBasedRateAdjustments", "0", "ServiceDays", "0", "FromTimeString"]
    // 0 = ObjectB
    // 1 = Index of object in the ObjectB array
    // 2 = ObjectC
    // 3 = Index of object in the ObjectC array
    // 4 = Field that actually changed

    This can currently not be handled and the audit trail will show the following. Note that it does not indicate that the FromTimeString changed.

    image

    • Merge request
    • Branch

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first