Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: ASP

Server -> ServerReq

 

 

ModPerl asp RSS feed   Index | Next | Previous | View Threaded


edh+yahoo at physics

Apr 7, 2005, 12:16 AM

Post #1 of 2 (1784 views)
Permalink
Server -> ServerReq

This may well be fixed in cvs, but I didn't see any info on how to
find out, so, just in case...

According to http://perl.apache.org/dist/mod_perl-2.0-current/Changes
, mod_perl version 1.99_15 moved Apache::Server to Apache::ServerReq.
As of Apache::ASP version 2.57, ASP::ApacheCommon still references
Apache::Server. Because this is loaded inside an eval block for which
$@ isn't even checked, the failure to load Apache::ServerReq and
Apache::Log goes unnoticed. For me this results in small breakages
such as:
Can't locate object method "log_error" via package Apache::RequestRec"
instead of useful messages in the error log. Judging from the list
archives, I am not alone.

Loading Apache::Server and Apache::Log elsewhere, perhaps via
Apache::compat, masks the bug, so I could easily imagine this going
unnoticed.




---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe [at] perl
For additional commands, e-mail: asp-help [at] perl


josh at chamas

May 23, 2005, 11:15 PM

Post #2 of 2 (1613 views)
Permalink
Re: Server -> ServerReq [In reply to]

perennialmind wrote:
> This may well be fixed in cvs, but I didn't see any info on how to
> find out, so, just in case...
>
> According to http://perl.apache.org/dist/mod_perl-2.0-current/Changes
> , mod_perl version 1.99_15 moved Apache::Server to Apache::ServerReq.
> As of Apache::ASP version 2.57, ASP::ApacheCommon still references

BTW, I just fixed this and uploaded the version 2.59 to CPAN.

Regards,

Josh

---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe [at] perl
For additional commands, e-mail: asp-help [at] perl

ModPerl asp RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.