Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.2.0-BETA2
-
Fix Version/s: 1.2.0-BETA3
-
Component/s: Cli, Import/Export
-
Labels:None
-
Environment:Windows Server 2003
Description
In Doctrine/Import/Builder.php, if pear style generation is enabled, underscores are replaced with slashes to create the Pear style directory layout. The code that builder.php uses is below.
if ($this->_pearStyle) {
$writePath = str_replace('_', '/', $writePath);
}
If the models_path contains an underscore, for example "D:\Inetpub_EXT\app\models", the underscore also gets converted to a slash. All of the models end up being created in the "D:\Inetpub\EXT\app\models" directory.