Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.0-ALPHA3
-
Component/s: None
-
Security Level: All
-
Labels:None
Description
I have a class with subclasses. One of the subclasses has fields which are foreign indices
If i do
$em->find('MyParentEntity', 1)
I get notices
Notice: Undefined index: somefieldwhichisforeignindex in /Doctrine/ORM/UnitOfWork.php on line 1708
Activity
Avi Block
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Summary | Getting "undefined index" notices from unique subclass fields | Getting "undefined index" notices from fields in subentities which are foreign indices. |
| Description |
I have a class with subclasses. If i do {code}$em->find('MyParentEntity', 1){code} I get notices Notice: Undefined index: somefieldwhichisuniqueinsubentity in /Doctrine/ORM/UnitOfWork.php on line 1708 |
I have a class with subclasses. One of the subclasses has fields which are foreign indices If i do {code}$em->find('MyParentEntity', 1){code} I get notices Notice: Undefined index: somefieldwhichisforeignindex in /Doctrine/ORM/UnitOfWork.php on line 1708 |
Roman S. Borschel
made changes -
| Status | Open [ 1 ] | In Progress [ 3 ] |
Roman S. Borschel
made changes -
| Status | In Progress [ 3 ] | Closed [ 6 ] |
| Fix Version/s | 2.0-ALPHA3 [ 10029 ] | |
| Resolution | Fixed [ 1 ] |
Benjamin Eberlei
made changes -
| Workflow | jira [ 10223 ] | jira-feedback [ 15443 ] |
Benjamin Eberlei
made changes -
| Workflow | jira-feedback [ 15443 ] | jira-feedback2 [ 17307 ] |
Benjamin Eberlei
made changes -
| Workflow | jira-feedback2 [ 17307 ] | jira-feedback3 [ 19564 ] |
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-58, expand=changesets[-21:-1].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)
I assume this is Class Table Inheritance?
If so, I think I know what to do.