Details
Description
It appears that @PostLoad is not getting fired in 2.2.0. I have an entity with a list of OneToMany objects. The objects in the one-to-many list have @PostLoad method defined. Using the find method on EntityManager, I can pull in the entity:
$object = EntityManager->find('entity\path\', $id);
then:
$list = $object->getList();
foreach($list as $item) {
}
Each "item" has a @PostLoad method defined. This PostLoad method on each $item gets called successfully in 2.1.5, but it doesn't appear to be getting called in 2.2.0.
This is my first time submitting a bug, so let me know if you need anything else.
Activity
Benjamin Eberlei
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Fix Version/s | 2.2.1 [ 10194 ] | |
| Resolution | Fixed [ 1 ] |
Benjamin Eberlei
made changes -
| Workflow | jira [ 13457 ] | jira-feedback [ 15235 ] |
Benjamin Eberlei
made changes -
| Workflow | jira-feedback [ 15235 ] | jira-feedback2 [ 17099 ] |
Benjamin Eberlei
made changes -
| Workflow | jira-feedback2 [ 17099 ] | jira-feedback3 [ 19352 ] |
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-1655, expand=changesets[-21:-1].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)
Are the One To many part of an inheritance hierachy? Then this could be related to
DDC-1640