[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modperl
Subject:    Re: [mp2] %ENV lost after doing subrequest
From:       "Philip M. Gollucci" <pgollucci () p6m7g8 ! com>
Date:       2006-06-22 21:21:18
Message-ID: 449B09CE.5000202 () p6m7g8 ! com
[Download RAW message or body]

Ed Eddington wrote:
> -------------8<---------- Start Bug Report ------------8<----------
> 1. Problem Description:
> 
> After doing a subrequest, the ENV hash is being cleared of everything 
> except MOD_PERL and MOD_PERL_API_VERSION. The ENV is normal within the 
> subrequest and immediately after, but ENV is lost after leaving the code 
> block (or subroutine) that contains the subrequest call. This script 
> illustrates the problem:
Known bug, see the test sweet.... local %ENV does not work yet because of
the way its tied to the request object.  Gozer took a crack at this a while ago
when it was reported, but the fixed caused other tests to fail. Feel free to submit a patch.


  t/modperl/local_env.t



-- 
------------------------------------------------------------------------
Philip M. Gollucci (pgollucci@p6m7g8.com) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F

"It takes a minute to have a crush on someone, an hour to like someone,
and a day to love someone, but it takes a lifetime to forget someone..."
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic