Skip Menu |

This queue is for tickets about the CatalystX-ListFramework-Builder CPAN distribution.

Report information
The Basics
Id: 44019
Status: resolved
Priority: 0/
Queue: CatalystX-ListFramework-Builder

People
Owner: OLIVER [...] cpan.org
Requestors: paikkos [...] googlemail.com
Cc:
AdminCc:

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



Subject: Calling $c->model() will return a random model
I am getting warnings from CX::L::Builder 0.41 on Catalyst 5.71. Calling $c->model() will return a random model unless you specify one of: * $c->config->{default_model} # the name of the default model to use * $c->stash->{current_model} # the name of the model to use for this request NB: in version 5.80, the "random" behavior will not work at all. at /usr/lib/perl5/site_perl/5.8.6/CatalystX/ListFramework/Builder/Model/Metadata.pm line 71
On Tue Mar 10 18:41:46 2009, OLIVER wrote: Show quoted text
> I am getting warnings from CX::L::Builder 0.41 on Catalyst 5.71. > > Calling $c->model() will return a random model unless you specify one > of:
I looked into this, and it could be a bug in my parsing of your models. I've added a "fix" which will cause the app to die with a debug message. Hopefully if you trigger this it'll point to what really needs fixing. Sorry the fix wasn't more straightforward.