Hi,

after 6 years of stability :), I'm moving a Mason app running on 1.05 to 1.32 :).

For legacy reasons, I'll be running under Apache1 and mod_perl1, and using Apache::Request.

I think i tripped in a little bug: HTML::Mason::ApacheHandler::prepare_request method call the $interp- >make_request() around line 869. It passes several parameters, including a `ah` and a `apache_req`. The HTML::Mason::Request object that would be created dies because those two elements are not in their valid_params() call.

I think this is the reason for the message I'm seeing:

[Fri Feb 3 22:37:32 2006] [error] The following parameter was passed in the call to HTML::Mason::Request->new() but was not listed in the validation options: ah\n\nStack:\n [/usr/lib/perl5/site_perl/5.8.5/ HTML/Mason/ApacheHandler.pm:883]\n [/usr/lib/perl5/site_perl/5.8.5/ HTML/Mason/ApacheHandler.pm:823]\n [/servers/etc/httpd_evolui/ startup.pl:300]\n [/dev/null:0]\n

Can I just add those two elements to the valid_params() call?

Thanks in advance,


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to