OK, so I think I've worked out the cause:
in the class_mappings:
'ROME::Model::ROMEDB::FactorExperiment' => 'FactorExperiment',
'ROME::Model::ROMEDB::Factor' => 'Factor',
'ROME::Model::ROMEDB::FactorByUser' => 'FactorByUser',
BUT
'ROMEDB::Factor' => 'FactorByUser',
If I do:
$c->model->result_source->schema->class_mappings->{'ROMEDB::Factor'} =
'Factor';
$c->model->result_source->schema->class_mappings->{'ROMEDB::FactorByUser'}
= 'FactorByUser';
Then everything works as expected. Is there a non-hacky way to tell
Catalyst to set up the class_mappings like this?
thanks!
Cxx
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/