Skip Menu |

This queue is for tickets about the Maypole CPAN distribution.

Report information
The Basics
Id: 18901
Status: resolved
Priority: 0/
Queue: Maypole

People
Owner: TEEJAY [...] cpan.org
Requestors: nicg [...] noslogan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 2.11_pre1
Fixed in:
  • 2.11_pre3
  • 2.11_pre5



Subject: Maypole Status Codes
Maypole::Constants defines both ERROR and DECLINED as -1. From the mod_perl point of view, -1 is correctly defined as DECLINED. When Maypole returns ERROR, the value is returned as the status code from the handler. mod_perl sees this as DECLINED and attempts to invoke another handler. It would probably be better were ERROR to be defined as 500 (HTTP SERVER_ERROR status).
On Mon Apr 24 16:05:12 2006, guest wrote: Show quoted text
> Maypole::Constants defines both ERROR and DECLINED as -1. From the > mod_perl point of view, > -1 is correctly defined as DECLINED. When Maypole returns ERROR, the > value is returned as the > status code from the handler. mod_perl sees this as DECLINED and > attempts to invoke another > handler. > > It would probably be better were ERROR to be defined as 500 (HTTP > SERVER_ERROR status).
This is fixed in later pre-releases. Not sure which SVN release, but currently fixed in latest.