Uploaded image for project: 'PuppetDB'
  1. PuppetDB
  2. PDB-3527

Do not post-process hashes that have already been processed.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PDB 5.0.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Team:
      Data Platform
    • Story Points:
      1
    • Sprint:
      Hopper/Triage
    • Release Notes:
      Not Needed
    • QA Risk Assessment:
      No Action

      Description

      In PUP-7381, the value returned from a Puppet::Resource::Catalog#to_data_hash was changed to ensure that it conforms with the Puppet Data type. This means that it no longer contains instances of incompatible classes, most notably there will be no Symbol or TagSet in the output.

      PuppetDB assumes that the hash contains TagSets when munging the catalog and makes an attempt to convert them using the #to_data_hash method. Due to the fixes in PUP-7381, that will now crash. An Array does not respond to #to_data_hash.

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                rob.browning Rob Browning
                Reporter:
                thomas.hallgren Thomas Hallgren
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: