Subject: | Perl object being sent to JSON parser |
I'm getting this error with LFB 0.41
[error] Caught exception in SomeApp::View::LFB::JSON->process
"encountered object 'SomeApp::Model::DB::UsageTerms=HASH(0xdff80f0)',
but neither allow_blessed nor convert_blessed settings are enabled at
/usr/lib/perl5/site_perl/5.8.6/JSON/Any.pm line 423."
Is this a problem with my DBIC model? It refers to a "belongs_to" in my
schema
...
"completed_on",
{ data_type => "CURRENT_TIMESTAMP", is_nullable => 1, size => undef },
"usage_terms",
{ data_type => "INTEGER", is_nullable => 0, size => unde
...
__PACKAGE__->belongs_to(usage_terms => 'SomeApp::Schema::UsageTerms');