Skip Menu |

This queue is for tickets about the MasonX-Request-WithApacheSession CPAN distribution.

Report information
The Basics
Id: 32941
Status: resolved
Worked: 10 min
Priority: 0/
Queue: MasonX-Request-WithApacheSession

People
Owner: Nobody in particular
Requestors: JACOB [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.30
Fixed in: 0.31



Subject: passing wrong header_object when running as CGI
This: elsif ( $self->can('cgi_object') ) { %extra = ( header_object => $self->cgi_object, param_object => $self->cgi_object, ); } passes a CGI object as "header_object", but a CGI cannot provide the needed "err_headers_out()"/"headers_out()" methods. The following works: elsif ( $self->can('cgi_request') and $self->can('cgi_object') ) { %extra = ( header_object => $self->cgi_request, param_object => $self->cgi_object, ); }
On Tue Feb 05 07:08:35 2008, JACOB wrote: Show quoted text
> This: > > elsif ( $self->can('cgi_object') ) > { > %extra = ( header_object => $self->cgi_object, > param_object => $self->cgi_object, > ); > } > > passes a CGI object as "header_object", but a CGI cannot provide the > needed "err_headers_out()"/"headers_out()" methods. The following works: > > elsif ( $self->can('cgi_request') and $self->can('cgi_object') ) > { > %extra = ( header_object => $self->cgi_request, > param_object => $self->cgi_object, > ); > }
Well, this is a _really_ late response, but ... I'm really not interested in maintaining this module any more. Want to take it over?
Fixed this in 0.31. On Sat Sep 12 13:43:57 2009, DROLSKY wrote: Show quoted text
> On Tue Feb 05 07:08:35 2008, JACOB wrote:
> > This: > > > > elsif ( $self->can('cgi_object') ) > > { > > %extra = ( header_object => $self->cgi_object, > > param_object => $self->cgi_object, > > ); > > } > > > > passes a CGI object as "header_object", but a CGI cannot provide the > > needed "err_headers_out()"/"headers_out()" methods. The following works: > > > > elsif ( $self->can('cgi_request') and $self->can('cgi_object') ) > > { > > %extra = ( header_object => $self->cgi_request, > > param_object => $self->cgi_object, > > ); > > }
> > Well, this is a _really_ late response, but ... > > I'm really not interested in maintaining this module any more. Want to > take it over?