Mason 1.29_01 and MasonX::Request::WithApacheSession
Rolf Schaufelberger <[email protected]>
| Newsgroups | gmane.comp.web.mason.devel |
|---|---|
| Organization | plusW |
| Message-ID | <[email protected]> |
make test of MasonX::Request::WithApacheSession fails
with subrequests.
Changed HTML::Mason::Request.pm
-------------------------------------------------
*** Request.pm Wed Jan 26 01:07:52 2005
--- /usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm Wed Feb 23
11:20:27 2005
***************
*** 560,568 ****
# Make subrequest, and set parent_request and request_depth
appropriately.
my $subreq =
! $interp->make_request(%defaults, %params,
! parent_request => $self,
! request_depth => $self->request_depth + 1);
return $subreq;
}
--- 560,568 ----
# Make subrequest, and set parent_request and request_depth
appropriately.
my $subreq =
! $interp->make_request(%defaults, %params);
! $subreq->{parent_request} = $self;
! $subreq->{request_depth} = $self->request_depth+1;
return $subreq;
}
-------------------------------------------------
and now it works.
--
Greetings
Rolf Schaufelberger
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click