Skip Menu |
 

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

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

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

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

Attachments


MIME-Version: 1.0
X-Spam-Status: No, hits=0.0 required=8.0 tests=
X-Exiscan-Spam-Score: -6.3 (------)
X-Virus-Checked: Checked by ClamAV on 16.mx.develooper.com
Content-Type: multipart/mixed; boundary="=-=-="
Organization: Program-, Informasjons- og Nettverksteknologisk Gruppe, UiO
Received: from la.mx.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id BE18519B80A3 for <bug-Catalyst-Action-RenderView [...] rt.cpan.org>; Mon, 3 Nov 2008 11:24:03 -0500 (EST)
Received: (qmail 17121 invoked by uid 103); 3 Nov 2008 16:24:02 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 3 Nov 2008 16:24:02 -0000
Received: from ping.uio.no (HELO ping.uio.no) (193.157.115.196) by 16.mx.develooper.com (qpsmtpd/0.43rc1) with ESMTP; Mon, 03 Nov 2008 08:23:59 -0800
Received: from knuth.ping.uio.no ([193.157.115.10] ident=postfix) by ping.uio.no with esmtp (Exim 4.63 #1 (Debian)) id 1Kx2Cv-0000Z0-Va for <bug-Catalyst-Action-RenderView [...] rt.cpan.org>; Mon, 03 Nov 2008 17:23:17 +0100
Received: by knuth.ping.uio.no (Postfix, from userid 29500) id A3E33B00CE0C; Mon, 3 Nov 2008 17:23:13 +0100 (CET)
Delivered-To: cpan-bug+Catalyst-Action-RenderView [...] diesel.bestpractical.com
X-Exiscan-Spam-Report: SpamAssassin 3.2.3 (2007-08-08) on rossum.ping.uio.no Score Rule * -1.4 ALL_TRUSTED Passed through trusted hosts only via SMTP * -5.0 PING_UIO_MAIL_IS_INTERNAL Message has never been outside * 129.240.0.0/16 or 193.157.115.0/24 * 0.1 DNS_FROM_SECURITYSAGE RBL: Envelope sender in * blackholes.securitysage.com
Subject: [PATCH] Convert from NEXT to Class::C3
User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)
Return-Path: <ilmari [...] ilmari.org>
X-Original-To: bug-Catalyst-Action-RenderView [...] rt.cpan.org
X-Spam-Check-BY: 16.mx.develooper.com
Date: Mon, 03 Nov 2008 16:23:13 +0000
X-Spam-Level: *
Message-Id: <d8jej1ssrri.fsf [...] knuth.ping.uio.no>
To: bug-Catalyst-Action-RenderView [...] rt.cpan.org
From: ilmari [...] ilmari.org (Dagfinn Ilmari Mannsåker)
Content-Length: 0
X-RT-Original-Encoding: ascii
content-type: text/plain; charset="utf-8"
Content-Length: 101
Download (untitled) / with headers
text/plain 101b
Hi, Attached is a patch that converts this plugin to use Class::C3 so it works with Catalyst 5.80.
Content-Description: Convert to Class::C3
Content-Type: text/x-diff
content-disposition: inline; filename="cat-action-renderview-next.diff"
Content-Length: 1398
=== Changes ================================================================== --- Changes (revision 31391) +++ Changes (local) @@ -1,3 +1,7 @@ +0.09 + - Switch from NEXT to Class::C3 for compatibility with Catalyst + 5.80. (ilmari) + 0.08 2008-05-02 19:40:00 - Add AsCGI to list of test requirements. - Check for defined()ness of $c->res->body so "0" is valid. (RT #30564) === Makefile.PL ================================================================== --- Makefile.PL (revision 31391) +++ Makefile.PL (local) @@ -10,6 +10,7 @@ requires 'Catalyst::Runtime' => '5.70'; requires 'Test::More'; requires 'Data::Visitor' => '0.08'; +requires 'Class::C3'; test_requires 'HTTP::Request::AsCGI'; === lib/Catalyst/Action/RenderView.pm ================================================================== --- lib/Catalyst/Action/RenderView.pm (revision 31391) +++ lib/Catalyst/Action/RenderView.pm (local) @@ -3,19 +3,20 @@ use strict; use warnings; -our $VERSION = '0.08'; +our $VERSION = '0.09'; use base 'Catalyst::Action'; use Data::Visitor::Callback; use UNIVERSAL qw/can/; +use Class::C3; my %ignore_classes = (); sub execute { my $self = shift; my ($controller, $c ) = @_; - $self->NEXT::execute( @_ ); + $self->maybe::next::method( @_ ); $c->config->{debug}->{ignore_classes} = [ qw/ DBIx::Class::ResultSource::Table
X-RT-Original-Encoding: ascii
content-type: text/plain; charset="utf-8"
Content-Length: 122
Download (untitled) / with headers
text/plain 122b
-- ilmari "A disappointingly low fraction of the human race is, at any given time, on fire." - Stig Sandbeck Mathisen
MIME-Version: 1.0
In-Reply-To: <d8jej1ssrri.fsf [...] knuth.ping.uio.no>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Charset: utf8
References: <d8jej1ssrri.fsf [...] knuth.ping.uio.no>
Content-Type: text/plain
Message-ID: <rt-3.6.HEAD-4108-1242131787-40.40633-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 53
This should be resolved in 0.09 by using MRO::Compat.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.