HomePhorge

(PUP-3272) Fix assymetric serialization - deserialiation in fact.rb
6f00dd18cbadUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-3272) Fix assymetric serialization - deserialiation in fact.rb

The fix is to incude the Puppet::Util::PsychSupport which deseerializes
by passing the read hash on to initialize_from_hash. If this is not
done, then all values are poked directly into instance variables
without any chance to affect formatting / data type.

This changes was required because tip of master made facts.rb use
assymetrical serialization/deserialization.

Details

Provenance
Henrik Lindberg <henrik.lindberg@cloudsmith.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU9692cac7dc62: (PUP-3272) Remove the setting report_serialization_format
Branches
Unknown
Tags
Unknown

Event Timeline

Henrik Lindberg <henrik.lindberg@cloudsmith.com> committed rPU6f00dd18cbad: (PUP-3272) Fix assymetric serialization - deserialiation in fact.rb (authored by Henrik Lindberg <henrik.lindberg@cloudsmith.com>).Nov 6 2014, 1:58 AM