Hey,
We are seeing a change to the behavior of $c->namespace in the latest Catalyst
release. Previously, this method would return a value similar to
$c->controller->action_namespace, but now it seems to return the namespace of
whatever the last controller that handled the request was.
I am guessing the change comes from:
sub dispatch { # Execute ourselves against a context
my ( $self, $c ) = @_;
- local $c->namespace = $self->namespace;
+ local $c->{namespace} = $self->namespace;
return $c->execute( $self->class, $self );
}
Where we are no long localizing $c->namespace.
I'd just like to clarify this is the behavior we want and see if we can cook up
a test for it. Is this giving anyone else trouble?
Sincerely,
John Napiorkowski
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/