Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DDC 2004] addFilter class name or instance #557

Closed
wants to merge 170 commits into from
Closed

[DDC 2004] addFilter class name or instance #557

wants to merge 170 commits into from

Conversation

gimler
Copy link
Contributor

@gimler gimler commented Jan 26, 2013

Make it possible to add filter class name or instance to addFilter. This is useful to use services to inject other dependencies.

stof and others added 30 commits July 24, 2012 00:21
…ouples ER implementation from EM, as it should be.
…ment to 5.3.9. Changed to reflection approach which still keep us at the same dependency as before.
[2.3] Use HelperSet in cli-config.php
… field to null explicitly to override possible previous values.
[DDC-1961] Fixed parameter type support in Parameter
…() method instead of having to implement themselves.
This allows multiple hydrators to be set at once, and also allows for
the customHydrationMode options to be set via DoctrineORMModule
beberlei and others added 25 commits December 16, 2012 13:00
Added the lines suggested by the original reporter.
…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.
Restored old way of injection to just inject it during a refresh
Added injection for initialized proxies
…teger, causing inconsistency with the string handling.
@doctrinebot
Copy link

Hello,

thank you for positing this Pull Request. I have automatically opened an issue on our Jira Bug Tracker for you with the details of this Pull-Request. See the Link:

http://doctrine-project.org/jira/browse/DDC-2259

@gimler
Copy link
Contributor Author

gimler commented Jan 26, 2013

all ready in master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.