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-3467] Embedded on private fields in an inheritance don't work correctly #1234
base: old-prototype-3.x
Are you sure you want to change the base?
Conversation
Hello, thank you for creating this pull request. I have automatically opened an issue http://www.doctrine-project.org/jira/browse/DDC-3469 We use Jira to track the state of pull requests and the versions they got |
@@ -0,0 +1,23 @@ | |||
<?php | |||
/** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could probably clean it up a little.
@Nemo64 is the idea not to see an exception? |
Maybe add a couple assertions on the actual metadata? |
I ran into this issue today, @till the bug is that the variable is not accessible while it isn't in the child class. The embeddable should be in the parent and not the child. I can temporarily work around this by making it protected, but I'd rather avoid that. |
The tried creating a test case for DDC-3467. I hope I put everything in the right place as my knowledge of this project is currently limited.