On 8 May 2012 16:13, Kenneth S Mclane <[email protected]> wrote:
> I am having a problem with my code and I cannot figure out why it is doing
> what it is doing. I have this sub:
>
> sub list :Local {
>         my ($self, $c, $page) = @_;
>         $page = $c->req->param('page') || 1;
>         my $rs = $c->model('ORANGES::Account')->search({}, {
...
> Where I am
> expecting a uri such as 'http://127.0.0.1:3000/accountdetails/detail/170'
> I instead get a uri like this:
> http://127.0.0.1:3000/accountdetails/detail/dbms::Model::ORANGES::Account=HASH%280x5496460%29
>
> This used to work when I was using a view as the basis for my list page.

When you changed this, how did you change the result class? This looks
suspiciously like "I regenerated the schema using an older version of
the schema loader" ..

_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to