[Catalyst] Error calling table class method from Catalyst
Tomas Doran
bobtfish at bobtfish.net
Fri Apr 3 16:17:26 GMT 2009
Dennis Daupert wrote:
> __PACKAGE__->load_components("ResultSetManager","Core");
You know ResultSetManager is deprecated / not recommended and scheduled
for deletion, right? Guess you're getting this from the catalyst book,
I'd recommend seeing the errata page which covers this
(http://dev.catalyst.perl.org/wiki/thebookerrata)
<snip>
> sub make_versioned_filename :ResultSet {
> my ( $self, $project_id, $filename ) = @_;
<snip>
> $c->model('HdeDB::Files')->make_versioned_filename( $id, $filename );
> Unknown error
This looks to me like the perl 5.10.0 attributes bug, which causes
'Unknown error' rather than a useful message.
Can you try a different version of perl to see if it becomes more helpful?
Cheers
t0m
More information about the Catalyst
mailing list