Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-2328

mergedata does not merge subkeys of data object

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Rejected
    • Priority: Medium
    • Resolution: Won't Do
    • Affects Version/s: 3.7.2
    • Fix Version/s: None
    • Component/s: Built-in functions
    • Labels:
      None

      Description

      Hi!
      I tried to merge two data objects (originally json + assoc array) that have the same key in depth 1 and different keys in depth 2. The keys in depth 2 are not merged but overwritten - see attached example.

        Attachments

          Activity

            People

            • Assignee:
              a10042 Nick Anderson
              Reporter:
              r.lindner Ronny Lindner
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel