[Catalyst] Catalyst::Plugin::Prototype: current state?
Denny
2010 at denny.me
Sat Mar 20 16:31:15 GMT 2010
On Sat, 2010-03-20 at 09:02 -0700, Ovid wrote:
> You can connect to your server at http://curtis-poes-computer-3.local:3000
> [warn] Calling $c->view() will return a random view unless you specify one of:
> [warn] * $c->config(default_view => "the name of the default view to use")
> [warn] * $c->stash->{current_view} # the name of the view to use for this request
> [warn] * $c->stash->{current_view_instance} # the instance of the view to use for this request
> [warn] NB: in version 5.81, the "random" behavior will not work at all.
> [error] Caught exception in Veure::View::AutoCRUD::JSON->process "must provide object to convert at /Library/Perl/5.10.1/Catalyst/View/JSON.pm line 44"
>
> I can't tell why from the docs.
Most of that is because your app view is called HTML.pm (at a guess)
whereas the AutoCRUD one is called TT.pm (iirc). You need to add
'default_view HTML' to your app's .conf file to stop those warnings.
Not sure about the exception though, I don't recall having that problem.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.scsys.co.uk/pipermail/catalyst/attachments/20100320/9ea6b1e7/attachment.pgp
More information about the Catalyst
mailing list