[Catalyst] Database contents not displayed after hitting pagerefresh

Matt S Trout dbix-class at trout.me.uk
Wed Sep 10 17:57:02 BST 2008

On Wed, Sep 03, 2008 at 04:03:27PM +0530, SHARATH GOPINATH RAO,  Chennai wrote:
> Matt: "So it works on the first request but not on the second?"
> Yes, it works on the first request and not on second. But, after
> changing it to this: $data = $c->model('Ttrack::Ttrack')->search();
> it's working fine, although any more suggestions are welcome.

It is *not* working, you've just papered over the underlying problem.

Please debug as I suggested otherwise in a few months your app is going to
break again.

      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director                    http://www.shadowcat.co.uk/catalyst/
 Shadowcat Systems Ltd.  Want a managed development or deployment platform?
http://chainsawblues.vox.com/            http://www.shadowcat.co.uk/servers/

More information about the Catalyst mailing list