Skip Menu |

This queue is for tickets about the Catalyst-Plugin-SubRequest CPAN distribution.

Report information
The Basics
Id: 77830
Status: resolved
Priority: 0/
Queue: Catalyst-Plugin-SubRequest

People
Owner: Nobody in particular
Requestors: nebulous [...] crashed.net
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: caller request object stompification
$c->subreq('/someaction') modifies $c->req in the caller. for example sub one:Local { my ($self, $c) = @_; #$c->req->uri eq '/one' $c->subreq('/two'); #$c->req->uri now eq '/two' my expectation would be that $c is not modified in the caller's context } committed a test for this in svn [14306]
On Thu Jun 14 15:48:59 2012, NEBULOUS wrote: Show quoted text
> $c->subreq('/someaction') modifies $c->req in the caller. > > for example > > sub one:Local { > my ($self, $c) = @_; > #$c->req->uri eq '/one' > $c->subreq('/two'); > #$c->req->uri now eq '/two' my expectation would be that $c is not > modified in the caller's context > } > > committed a test for this in svn [14306]
fixed in local repo, involves a massive refactor, will discuss release with t0m tomorrow
fixed in 0.18