Fix duplicated class names returned by DriverChain #80

merged 1 commit into from Sep 16, 2011


None yet

2 participants

ornicar commented Mar 22, 2011

Before this change, DriverChain::getAllClassNames was returning 4500+ classes... while I have only 126.

Because drivers can return the same class names.

ornicar commented Mar 24, 2011

I know the fix is not good, btw here is a test to show the problem it tries to solve:


ornicar commented Jul 17, 2011

Just to say the issue is still here...

Add die(count($classNames).' classes'); in DriverChain::getAllClassNames() and you will see the number of classes is far higher than what you expect.

@kriswallsmith kriswallsmith merged commit e8d5d1e into doctrine:master Sep 16, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment