| dbms::Model::ORANGES::AccountView | class|
Kenneth> Strange, I do not see it listed, yet it got created and works
Kenneth> when I call the /index.
You probably want $c->model('ORANGES::AccountView');
--
Eden Cardim Need help with your C
From:
Eden Cardim
To:
The elegant MVC web framework
Date:
04/04/2012 11:13 AM
Subject:
Re: [Catalyst] Error loading data from schema
>>>>> "Kenneth" == Kenneth S Mclane writes:
Kenneth> I am getting the following error: Caught exception in
Kenneth>
> "Kenneth" == Kenneth S Mclane writes:
Kenneth> I am getting the following error: Caught exception in
Kenneth> dbms::Controller::AccountView->list "Can't call method "all" on
Kenneth> an undefined value at
Kenneth> /tmp/catalyst/dbms/script/../lib/dbms/Controller/AccountView.
From:
Francisco Obispo
To:
The elegant MVC web framework
Date:
04/04/2012 09:47 AM
Subject:
Re: [Catalyst] Error loading data from schema
The error is because $c->model('dbms::ACCOUNT_VIEW') is not defined.
Did you create the view after creating the model? if so, try re-runnin
The error is because $c->model('dbms::ACCOUNT_VIEW') is not defined.
Did you create the view after creating the model? if so, try re-running the
create script so it can pick up the changes.
Also, to avoid fatal errors, you should attempt to load the model first, and
then send to the template a
I am getting the following error: Caught exception in
dbms::Controller::AccountView->list "Can't call method "all" on an
undefined value at
/tmp/catalyst/dbms/script/../lib/dbms/Controller/AccountView.pm line 7."
this is the referenced sub:
sub list : Local {
my ($self, $c) = @_;