Skip Menu |

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

Report information
The Basics
Id: 20239
Status: resolved
Priority: 0/
Queue: Catalyst-Action-RenderView

People
Owner: Nobody in particular
Requestors: scottk [...] mandriva.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: 0.04



Subject: Syntax error on line 15 of RenderView.pm v0.03
There seems to be a syntax error on line 15 of RenderView.pm of Catalyst-Action-RenderView-0.03. If (I doubt it) you should need it, see attached patch.
Subject: CARV.patch
--- lib/Catalyst/Action/RenderView.pm.fixsyntax 2006-07-02 03:56:29.000000000 -0600 +++ lib/Catalyst/Action/RenderView.pm 2006-07-02 07:56:08.000000000 -0600 @@ -12,7 +12,7 @@ foreach my $item (keys %{$c->stash}) { undef $item->{result_source} if $item->isa('DBIx::Class::ResultSet') || - if $item->isa('DBIx::Class::Row'); + $item->isa('DBIx::Class::Row'); } die "forced debug" }
Subject: Corrected patch for syntax error on line 15 of RenderView.pm v0.03
From: scottk [...] mandriva.org
Oops! Bad patch, maybe this is what you intended: --- RenderView.pm.fixsyntax 2006-07-02 03:56:29.000000000 -0600 +++ RenderView.pm 2006-07-02 07:56:08.000000000 -0600 @@ -12,7 +12,7 @@ foreach my $item (keys %{$c->stash}) { undef $item->{result_source} - if $item->isa('DBIx::Class::ResultSet') || - if $item->isa('DBIx::Class::Row'); + if $item->isa('DBIx::Class::ResultSet') or + $item->isa('DBIx::Class::Row'); } die "forced debug" }
Subject: Re: [rt.cpan.org #20239] Corrected patch for syntax error on line 15 of RenderView.pm v0.03
Date: Mon, 3 Jul 2006 13:59:37 +0200
To: bug-Catalyst-Action-RenderView [...] rt.cpan.org
From: "Marcus Ramberg" <marcus.ramberg [...] gmail.com>
never intended that to go out at all... :( Marcus On 7/2/06, Guest via RT <bug-Catalyst-Action-RenderView@rt.cpan.org> wrote: Show quoted text
> > > Queue: Catalyst-Action-RenderView > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=20239 > > > Oops! Bad patch, maybe this is what you intended: > --- RenderView.pm.fixsyntax 2006-07-02 03:56:29.000000000 -0600 > +++ RenderView.pm 2006-07-02 07:56:08.000000000 -0600 > @@ -12,7 +12,7 @@ > foreach my $item (keys %{$c->stash}) { > undef $item->{result_source} > - if $item->isa('DBIx::Class::ResultSet') || > - if $item->isa('DBIx::Class::Row'); > + if $item->isa('DBIx::Class::ResultSet') or > + $item->isa('DBIx::Class::Row'); > } > die "forced debug" > } > >
-- With regards Marcus Ramberg