Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 68798
Status: open
Priority: 0/
Queue: Catalyst-View-Xslate

People
Owner: Nobody in particular
Requestors: xenoterracide [...] gmail.com
Cc:
AdminCc:

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



Subject: Fwd: Could not find an attribute by the name of 'suffix' to inherit from
Date: Mon, 13 Jun 2011 11:19:44 -0500
To: bugs-catalyst-view-xslate [...] rt.cpan.org
From: Caleb Cushing <xenoterracide [...] gmail.com>
The following is created by this, per the documentation: script/create.pl view test Xslate cache=0 suffix=.tt bridge=TT2 syntax=TTerse use Moose; extends 'Catalyst::View::Xslate'; has '+suffix' => ( default => '.tt' ); has '+syntax' => ( default => 'TTerse' ); has '+cache' => ( default => '0' ); has '+module' => (    default => sub { [ 'Text::Xslate::Bridge::TT2' ] } ); it generates this error: Couldn't load class (MyApp) because: Could not find an attribute by the name of 'suffix' to inherit from in MyApp::View::test at /home/ccushing/perl5/lib/perl5/i686-linux-thread-multi/Moose/Meta/Class.pm line 626 -- Caleb Cushing http://xenoterracide.com
Ah, well I didn't write that Helper nor the docs :/ Anyway: https://github.com/lestrrat/Catalyst-View- Xslate/commit/d837275997fcd134af16116d752745d9d1e1bee0 please see if this works for you?