Issue #2686 has been updated by Markus Roberts.

Subject changed from metaparameters cause failures with ActiveRecord >= 2.3.3 
to ActiveSupport >= 2.3.3 forces use of defective JSON library
Category changed from plumbing to serialization
Keywords set to JSON Rails ActiveRecord ActiveSupport

This is one of a number of closely related issues related to data modification 
in the serialization process.

They are all being rolled into one and will be addressed by providing an 
internal serialization library that 1) does not depend on other installed 
software, 2) produces and consumes data in the same format regardless of 
platform or ruby version, and 3) is entirely under our control, so that any 
subsequently discovered issues can be resolved.

----------------------------------------
Bug #2686: ActiveSupport >= 2.3.3 forces use of defective JSON library
http://projects.reductivelabs.com/issues/2686

Author: Darrell Fuhriman
Status: Accepted
Priority: Normal
Assigned to: Markus Roberts
Category: serialization
Target version: 0.25.1
Affected version: 0.25.1rc1
Keywords: JSON Rails ActiveRecord ActiveSupport
Branch: 


In testing for the update to 0.25.x, I ran across a problem where the following 
error was generated on metaparameters:

<pre>
err: Could not run Puppet configuration client: Parameter notify failed: No 
title provided and title '{"title"=>"smb", "type"=>"Service", 
"builtin_type"=>nil}' is not a valid resource reference
</pre>
(see posting from me on puppet-users).

i stuck some debugging code in Puppet::Resource::Reference#initialize

When it works, it gives:
<pre>argtype: "Service[smb]", argtitle: , class: String, is_a? false</pre>

On AR >=2.3.3, I get something like:
<pre>argtype: {"title"=>"/home/projectdx/projectdx-pdxrails", "type"=>"File", 
"builtin_type"=>nil}, argtitle: , class: Hash, is_a? false</pre>

This seems to be the case regardless of whether or not storedconfig is set to 
true.




-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to