DDC-2199 / DDC-2192 - Versioned fields didnt work in XML/YAML mapping
Merge branch 'DDC-2199' into 2.3
Merge remote-tracking branch 'origin/2.3' into 2.3
Fix DDC-1690

Added the lines suggested by the original reporter.
[DDC-1690] Created unit test
[DDC-1690] Added an empty line as requested.
Merge branch 'DDC-1690' into 2.3
Fix MySQL test
[DDC-2206] Fix Setup::registerAutoloadPEAR() to work with Symfony namespaces from top PEAR directory
Merge branch 'DDC-2206' into 2.3
Merge branch '2.3' of github.com:doctrine/doctrine2 into 2.3
[DDC-2175] Fix bug in JoinedSubclassPersister
Merge branch 'DDC-2175' into 2.3
Bump submodule of DBAL to 2.3.2
Release 2.3.2
Bump dev version to 2.3.3
The EntityManager was not injected in uninitialized proxys which are ObjectManagerAware.
I ran into that problem while I had two objects in the identitymap while hydrating a collection: one was new a "real" entity and the other one was an uninitialized proxy. For "real" entities the em is injected in line 2427, for new entities it is injected in 2436->2364, but for proxies this is missing. According to the comment "inject ObjectManager into just loaded proxies." the code in line 2427 should do this, but in fact it is just used if it is a "real" entity or an already initialized proxy. Moving the injection to outside of the condition in line 2411 (if the entity is an unitialized proxy) solves this.
fixed indentation
Restored old way of injection to just inject it during a refresh
Added injection for initialized proxies
Added test
DDC-2231 - Simplify test