Subject: | Bug in Catalyst::Continuation->execute |
MIME-Version: | 1.0 |
X-Mailer: | MIME-tools 5.426 (Entity 5.426) |
Charset: | utf8 |
X-RT-Original-Encoding: | utf-8 |
Content-Type: | multipart/mixed; boundary="----------=_1220938286-31914-1" |
Content-Length: | 0 |
Content-Type: | text/plain |
Content-Disposition: | inline |
Content-Transfer-Encoding: | binary |
Content-Length: | 182 |
Up until version 5.7012 of Catalyst
$c->_stats_start_execute returned a hashref
Catalyst 5.7012 and greater return a simple string and there's no way I
can see to make a comment...
Subject: | continuation.patch |
MIME-Version: | 1.0 |
Content-Type: | multipart/mixed; boundary="----------=_1220938286-31914-0" |
X-Mailer: | MIME-tools 5.426 (Entity 5.426) |
Charset: | utf8 |
Content-Length: | 0 |
Content-Type: | text/plain |
Content-Disposition: | inline |
Content-Transfer-Encoding: | binary |
X-RT-Original-Encoding: | iso-8859-1 |
Content-Length: | 0 |
Content-Type: | text/x-patch; name="continuation.patch" |
Content-Disposition: | inline; filename="continuation.patch" |
Content-Transfer-Encoding: | binary |
Content-Length: | 441 |
--- Continuation.pm.org 2008-09-09 15:09:13.000000000 +1000
+++ Continuation.pm 2008-09-09 15:30:11.000000000 +1000
@@ -200,7 +200,7 @@
$localized->{stack} = [ @{ $c->stack }, $caller ];
my $stats_info = $c->_stats_start_execute( $caller );
- if ( my $node = $stats_info->{node} ) {
+ if ( $c->version < 5.7012 and my $node = $stats_info->{node} ) {
$node->getNodeValue->{comment} = " (continuation)";
}