Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Allow the usage of embedded objects on parent classes.#5867

Closed
lcobucci wants to merge 1 commit into
doctrine:masterfrom
lcobucci:embeddable-and-inheritance
Closed

Allow the usage of embedded objects on parent classes.#5867
lcobucci wants to merge 1 commit into
doctrine:masterfrom
lcobucci:embeddable-and-inheritance

Conversation

@lcobucci
Copy link
Copy Markdown
Member

@lcobucci lcobucci commented Jun 9, 2016

The ClassMetadataInfo was always using the "current class" to fetch the reflection of a property even when a field is declared on the parent class (which causes ReflectionProperty to throw an exception).

The `ClassMetadataInfo` was always using the "current class" to
fetch the reflection of a property even when a field is declared
on the parent class (which causes `ReflectionProperty` to throw
an exception).
@lcobucci lcobucci force-pushed the embeddable-and-inheritance branch from 1e8e42c to 7f8a5f1 Compare June 9, 2016 19:59
@lcobucci
Copy link
Copy Markdown
Member Author

lcobucci commented Jun 9, 2016

Fixes #4097 and #4277.

@lcobucci
Copy link
Copy Markdown
Member Author

@Ocramius is this good enough?

@Ocramius Ocramius self-assigned this Jun 18, 2016
@Ocramius Ocramius added this to the 2.5.5 milestone Jun 18, 2016
@Ocramius
Copy link
Copy Markdown
Member

@lcobucci looks good, but can't merge atm (in a hurry)

@lcobucci
Copy link
Copy Markdown
Member Author

Don't worry was just checking if needed some more work ;)

Ocramius added a commit that referenced this pull request Jun 19, 2016
Ocramius added a commit that referenced this pull request Jun 19, 2016
Ocramius added a commit that referenced this pull request Jun 19, 2016
Ocramius added a commit that referenced this pull request Jun 19, 2016
Ocramius added a commit that referenced this pull request Jun 19, 2016
Ocramius added a commit that referenced this pull request Jun 19, 2016
@Ocramius Ocramius closed this in 3dfc180 Jun 19, 2016
@Ocramius
Copy link
Copy Markdown
Member

@lcobucci merged, thanks!

master: 3dfc180
2.5: aa58203

Note: I inlined all the tests into the TestCase that required them, and removed all unused API

@lcobucci
Copy link
Copy Markdown
Member Author

@Ocramius Nice! Will inline the mapped classes on the next functional tests I may write. Thanks!

@lcobucci lcobucci deleted the embeddable-and-inheritance branch August 26, 2016 08:14
alexgurrola pushed a commit to Sitetheory-Archive/doctrine2 that referenced this pull request Apr 13, 2017
alexgurrola pushed a commit to Sitetheory-Archive/doctrine2 that referenced this pull request Apr 13, 2017
alexgurrola pushed a commit to Sitetheory-Archive/doctrine2 that referenced this pull request Apr 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants