Issue #2686 has been updated by Markus Roberts.

And here's the new in active support 2.3.3 code change that's breaking it:

<pre>
 
+# Hack to load json gem first so we can overwrite its to_json.
+begin
+  require 'json'
+rescue LoadError
+end
+

</pre>

Oh sweet irony.

----------------------------------------
Bug #2686: metaparameters cause failures with ActiveRecord >= 2.3.3
http://projects.reductivelabs.com/issues/2686

Author: Darrell Fuhriman
Status: Accepted
Priority: Normal
Assigned to: Markus Roberts
Category: plumbing
Target version: 0.25.1
Affected version: 0.25.1rc1
Keywords: 
Branch: 


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


@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@

(see posting from me on puppet-users).

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

When it works, it gives:
@argtype: "Service[smb]", argtitle: , class: String, is_a? false@

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

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