Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Invalid
-
Affects Version/s: 1.2.0-BETA3
-
Fix Version/s: None
-
Component/s: Import/Export
-
Labels:None
Description
If models has any prefix Doctrine_Core::loadModels() fails as fails all export scripts, because for models:
Model_Test
Model_Test2
it returns:
array(
'Test' => 'Test',
'Test2' => 'Test2'
)
This is incorrect and Doctrine_Core::filterInvalidModels() filters out these classes, hence none of the models become available.
Expected behaviour: classPrefix should be possible to pass to configuration of task (now I need to manually copy/paste/edit all tasks to add required class prefix).
I made a fix in Doctrine 1.2 that should help. Be sure you set the model loading to be pear style.