Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.2.0-BETA3, 1.2.0-RC1
-
Fix Version/s: 1.2.0
-
Component/s: None
-
Labels:None
Description
When trying to run doctrine-cli generate-yaml-models (I think other tasks are affected too), I get a yaml file consisting of { }.
I think this is because on line 48 of Doctrine/Export/Schema.php $classPrefix is not passed to Doctrine_Core::loadModels($directory) even if it is set in the configuration array.
This is causing doctrine to think there are no models to generate the yaml for if I am using the $classPrefix.
I'm just learning Doctrine so it's entirely possibly something else is to blame for my issue, but this is where I was able to trace it to.
I fixed an issue similar to this last week. Make sure you're all fully up-to-date from the 1.2 branch and let me know if the problem still persists there.
Thanks, Jon