Skip Menu |

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

Report information
The Basics
Id: 39369
Status: resolved
Priority: 0/
Queue: Catalyst-Runtime

People
Owner: Nobody in particular
Requestors: norbi [...] nix.hu
Cc:
AdminCc:

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



Subject: Catalyst::DispatchType::Regex::uri_for_action() is broken
Date: Wed, 17 Sep 2008 23:29:12 +0200
To: bug-Catalyst-Runtime [...] rt.cpan.org
From: BUCHMULLER Norbert <norbi [...] nix.hu>
It seems that the uri_for_action() implementation of Catalyst::DispatchType::Regex is broken: it returns undef virtually always. (The problem is that the inner loop did not stop after the last parenthesized expression is processed.) See the attached patch for a fix (also includes a test case). norbi Distribution: Catalyst-Runtime-5.7014 O/S: Debian GNU/Linux 4.0 (etch), Linux 2.6.18 Perl version: v5.8.8 (i486-linux-gnu-thread-multi)

Message body is not shown because sender requested not to inline it.

Applied and shipped in 5.80003 Many thanks!