Not nice, not smart... but it saves you from changing hundreds of lines
of code if you
want to upgrade to Apache 2

The proplem is that Apache::Session::Wrapper expect a Apache2::Request
Object. HTML::Mason::ApacheHander
provides a Apache::RequestRec Object wich is missing the "param" method.

I am running an Apache2.2.0 with libapreq2-2.07 mod perl 2.0.2
As you see I dont waste time with testing for libapreq2 or modperl2. I
also did not
any sophisticated tests ... I just permutaded lines of codes as long as
the apache
error log keeps growing.

This is just an emergency patch so I can wait for an upgrade of
MasonX::Request::WithApacheSession.




diff WithApacheSession.pm ./MasonX/Request/WithApacheSession.pm
19a20,21
>
>
22a25,26
> use Apache2::Request;
>
87c91
<                    param_object  => $self->apache_req,
---
> param_object => Apache2::Request->new( $self->apache_req ),






Timo

Powered by Open-Xchange.com



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to