Mailing List Archive

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@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org
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@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org