[Catalyst] forward not working correctly ?

Luca Ferrari fluca1978 at infinito.it
Thu Jan 29 15:17:35 GMT 2015

Hi all,
I'm surely missing something in my action:

sub edit : Local Form {
    my ( $self, $c, $id ) = @_;
    my $form = $self->formbuilder();

    if ( $is_form_ok ){
        $c->forward( 'list' );
   } else {

The result is that the same page (the form for the edit action) is
always rendered, even if all the business logic works fine.
detach is not working as I'm expecting too, and  only visit appears to
render the list action, but without changing the url.

The development server console provides me the call chain:
 -> /workers/list
-> Smickets::View::HTML->process

I'm using TTSite as my view.
What am I missing?


More information about the Catalyst mailing list