[Catalyst] DBIC register_source causing wierd Cat error?
    Caroline Johnston 
    johnston at biochem.ucl.ac.uk
       
    Wed Jul  2 15:17:11 BST 2008
    
    
  
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
    
    
More information about the Catalyst
mailing list