Issue #2367 has been updated by Jordan Curzon.

The bug is related to #2392, but different. I'm submitting a patch for #2392 
that does just that, use the Content-Header.

This happens because because the PUT body is large enough that 
Mongrel::HTTPRequest#body returns a StringIO object instead of a String. 
StringIO#to_s returns "<StringIO#8236987299>" instead of the string contents. 
When that string is passed to YAML it returns false which is then passed to 
save_object without any time checking. I'll post a patch that properly returns 
the string contents of the request body and another that type checks the 
decoded result of the body.
----------------------------------------
Bug #2367: reporting fails on .25.0b2, possibly apache/mongrel's fault
http://projects.reductivelabs.com/issues/2367

Author: Joe McDonagh
Status: Accepted
Priority: High
Assigned to: 
Category: reports
Target version: 0.25.0
Complexity: Unknown
Affected version: 0.25.0beta2
Keywords: 


Hi, I'm using mongrel behind mod_proxy_balancer in apache and piloting the 
.25b2, I get this when reporting should happen:

err: Reporting failed: Server returned 400: undefined method `save' for 
false:FalseClass

I have this error in the apache error log:

[Thu Jun 25 20:32:50 2009] [warn] proxy: bad HTTP/1.1 header returned by 
/production/report/link.phishnet.internal (PUT)


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