-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Missing Metadata Driver in Symfony 3.4.0 BETA 4 #24950
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
Comments
Ok, after tracing a bit I found the reason why it fails, neverless I have no idea how to fix it. The problem lies in the cached container in the method |
Here is the code of BETA2 cache:
And here is the BETA4 cache
The BETA2 cache lies in its own file, whilst the BETA4 cache is in the Container. There the configuration is filled after the EntityManager got created. |
can confirm, problem was introduced with BETA3 |
the problem is that: probably introduced by db12a98 or beb4df7 edit: the following ORM config is used orm:
auto_generate_proxy_classes: "%kernel.debug%"
naming_strategy: doctrine.orm.naming_strategy.underscore
auto_mapping: true
mappings:
App:
type: annotation
is_bundle: false
dir: "%kernel.project_dir%/src/Entity"
prefix: App\Entity |
@DerKnerd @backbone87 could you create a very simple Symfony application with this exception and share the link to it here? I can't reproduce. |
Should be fixed by #25055 |
@sroze Do you still need the simple app? I could create it to Wednesday. |
@DerKnerd I guess not, I reproduced and fixed the issue :) |
…grekas) This PR was merged into the 3.4 branch. Discussion ---------- [DI] Analyze setter-circular deps more precisely | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #24950 | License | MIT | Doc PR | - This PR reverts the effect of #24828 and #24822 on fixtures, except for the new behavior these PRs introduced, which was mostly fine, but missed a few cases. This PR now uses the reference graph to precisely decide which services need circular dependency care, and does not touch the other ones. Commits ------- 9cc4a21 [DI] Analyze setter-circular deps more precisely
Hello everyone,
after upgrading my project from Symfony 3.4.0 BETA 2 to 3.4.0 BETA4 I get the following exception in every request and every cli command:
Is this a know issue and if yes, is there a work around yet?
You can find the code here: https://github.com/DerKnerd/Jinya-Gallery-CMS
Greetings Knerd
The text was updated successfully, but these errors were encountered: