Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Invalid
-
Affects Version/s: 1.2.3
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
Random filename generation is not sufficiently unique when working with multiple developers on a single development server.
$file = realpath(sys_get_temp_dir()).'/doctrine_schema_'.rand(11111, 99999).'.yml';
Attached patch replaces rand() call with a uniqid() call.
This issue is in the Symfony code, not Doctrine. Please open a ticket in http://trac.symfony-project.org