Skip Menu |

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

Report information
The Basics
Id: 44995
Status: resolved
Priority: 0/
Queue: Catalyst-Plugin-Server

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

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



Subject: Instruction to disable RenderView action
Following the instructions in the tutorial I get an error from RenderView: Caught exception in JobMgr::Controller::Root->end "Catalyst::Action::RenderView could not find a view to forward to." Commenting out the default line in my controller got around this issue: #sub end : ActionClass('RenderView') {} Someone said that RenderView shouldn't dispatch to view if $c->res->body() is non-empty, however, even though we do have an XML response, it seems Catalyst still forwards to view.
From: ckras [...] cpan.org
I'm experiencing the same thing as well. As soon as I add a space to the body with $c->response->body(' '); all is fine. On Ma. Ggk. 13 05:23:35 2009, DAVAZ wrote: Show quoted text
> Following the instructions in the tutorial I get an error from RenderView: > > Caught exception in JobMgr::Controller::Root->end > "Catalyst::Action::RenderView could not find a view to forward to." > > Commenting out the default line in my controller got around this issue: > > #sub end : ActionClass('RenderView') {} > > Someone said that RenderView shouldn't dispatch to view if > $c->res->body() is non-empty, however, even though we do have an XML > response, it seems Catalyst still forwards to view.
On Mon Apr 13 05:23:35 2009, DAVAZ wrote: Show quoted text
> Following the instructions in the tutorial I get an error from RenderView: > > Caught exception in JobMgr::Controller::Root->end > "Catalyst::Action::RenderView could not find a view to forward to." > > Commenting out the default line in my controller got around this issue: > > #sub end : ActionClass('RenderView') {}
Thanks, the tutorial is updated accordingly.