Skip Menu |

This queue is for tickets about the Apache-Reload CPAN distribution.

Report information
The Basics
Id: 8350
Status: rejected
Priority: 0/
Queue: Apache-Reload

People
Owner: pgollucci [...] p6m7g8.com
Requestors: Ruslan.Zakirov [...] acronis.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.07
Fixed in: (no value)



Subject: Apache::Reload fails outside of mod_perl environment
Hello Two bugs: 1) minor, but undocumented Show quoted text
> perl -MApache::Reload -e 'Apache::Reload::handler();'
2) if handler is called outside of MP(without request object) then it defaults 'ReloadAll' value to off. This breaks functionality in not mod_perl apps. Both glitches disappear if I change line 68 to: if ((ref($r) && (lc($r->dir_config("ReloadAll") || 'on') eq 'on')) || !ref($r)) { Best regards, Ruslan.
RT-Send-CC: dev [...] perl.apache.org
This is definitely a regression, and I also just noticed when updating the freebsd port (www/p5-Apache-Reload)
Marking as invalid - this handler requires $r to function properly.