Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-ALPHA4
-
Fix Version/s: 2.0-BETA1
-
Component/s: None
-
Security Level: All
-
Labels:None
Description
Although the annotation driver does, the YAML-Driver does not.
Any idea how to access the ancestor's yamlfile? I'd probably have to get an instance of the entity first, perform reflection on it, find the superclass, get it's yaml file (if there is any) and repeat this until we've reached the top of the inheritance hierarchy...
Activity
Roman S. Borschel
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Status | Open [ 1 ] | Closed [ 6 ] |
| Fix Version/s | 2.0-BETA1 [ 10030 ] | |
| Resolution | Fixed [ 1 ] |
Benjamin Eberlei
made changes -
| Workflow | jira [ 10857 ] | jira-feedback [ 15543 ] |
Benjamin Eberlei
made changes -
| Workflow | jira-feedback [ 15543 ] | jira-feedback2 [ 17407 ] |
Benjamin Eberlei
made changes -
| Workflow | jira-feedback2 [ 17407 ] | jira-feedback3 [ 19664 ] |
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-311, expand=changesets[-21:-1].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)
I dont really understand, you don't need @hasLifecycleCallbacks, you just define a section "lifecycleCallbacks" in your yaml file.
see the documentation o rtests/Doctrine/Tests/ORM/Mapping/Driver for an example yaml file. It should work out of the box.