Details
Description
On entities that have only association keys as primary keys:
Calling BasicEntityPersister::exists() cause the invocation of ClassMetadata::getIdentifierValues() method.
This method returns associated entities as identifier values.
Then BasicEntityPersister::exists() tries to converts these objects to string, instead of searching their primary keys.
Some problems:
- getIdentifierValues have not access to external world (only its class metadata and the current entity).
- getIdentifierValues is uses in many places of doctrine
(sorry for my bad English)
Activity
Guilherme Blanco
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Assignee | Benjamin Eberlei [ beberlei ] | Guilherme Blanco [ guilhermeblanco ] |
| Fix Version/s | 2.1.4 [ 10165 ] | |
| Resolution | Fixed [ 1 ] |
Benjamin Eberlei
made changes -
| Fix Version/s | 2.1.3 [ 10164 ] | |
| Fix Version/s | 2.1.4 [ 10165 ] |
Benjamin Eberlei
made changes -
| Workflow | jira [ 13026 ] | jira-feedback [ 15030 ] |
Benjamin Eberlei
made changes -
| Workflow | jira-feedback [ 15030 ] | jira-feedback2 [ 16894 ] |
Benjamin Eberlei
made changes -
| Workflow | jira-feedback2 [ 16894 ] | jira-feedback3 [ 19147 ] |
This list may be incomplete, as errors occurred whilst retrieving source from linked applications:
- Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={query=DDC-1382, expand=changesets[-21:-1].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)
Fixed in https://github.com/doctrine/doctrine2/commit/24042863acbabdcd0fa1432135a9836467f3bce7
It should be available in next release.