Details
-
Type:
New Feature
-
Status:
Reopened
-
Priority:
Trivial
-
Resolution: Unresolved
-
Affects Version/s: 2.0-BETA2
-
Fix Version/s: None
-
Component/s: ORM
-
Security Level: All
-
Labels:None
Description
I am getting an error: 'Notice: Undefined index: sysname in ./libraries/Doctrine/ORM/Persisters/BasicEntityPersister.php on line 434' when I try to flush a change to a property that references a unique field on another object.
From poking around in the _prepareUpdateData function, it seems that it only allows you to use identifier fields:
$newValId = $uow->getEntityIdentifier($newVal); .. $result[$owningTable][$sourceColumn] = $newValId[$targetClass->fieldNames[$targetColumn]];
I'll see if I can get a test case for this set up.
Activity
Michael Ridgway
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Attachment | DDC567Test.php [ 10589 ] |
Roman S. Borschel
made changes -
| Issue Type | Bug [ 1 ] | New Feature [ 2 ] |
Michael Ridgway
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Invalid [ 6 ] |
Michael Ridgway
made changes -
| Resolution | Invalid [ 6 ] | |
| Status | Resolved [ 5 ] | Reopened [ 4 ] |
Roman S. Borschel
made changes -
| Priority | Major [ 3 ] | Trivial [ 5 ] |
Benjamin Eberlei
made changes -
| Workflow | jira [ 11310 ] | jira-feedback [ 14100 ] |
Benjamin Eberlei
made changes -
| Workflow | jira-feedback [ 14100 ] | jira-feedback2 [ 15964 ] |
Benjamin Eberlei
made changes -
| Workflow | jira-feedback2 [ 15964 ] | jira-feedback3 [ 18218 ] |