Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 2.0-BETA1
-
Fix Version/s: 2.0-BETA3
-
Component/s: ORM
-
Security Level: All
-
Labels:None
-
Environment:PHP-Version 5.3.2
PHPUnit-Version 3.4.11
PDO Driver for MySQL, client library version => 5.0.83
doctrine-trunk@7546
Kubuntu 9.10 / 32bit
Description
If loading an entity without its -to-many-collections, detaching and merging it back WITHOUT having touched those associations will result in two strange behaviours:
oneToMany (bidrectional, mapped by loaded entity): After merge the collection remains empty. Flushing EM and reloading entity will reveal associated entities again
manyToMany (bidirectional, mapped by targeted entity): After merge the collection remains empty. Flushing EM will physically delete associations.
- ----------------- !! NOTE !! --------------------
- To reproduce the manyToMany-Bug it's necessary
- to cascade "merge" on cmUser::groups
- -------------------------------------------------
Activity
Markus Wößner
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Environment |
PHP-Version 5.3.2 PHPUnit-Version 3.4.11 PDO Driver for MySQL, client library version => 5.0.83 Kubuntu 9.10 / 32bit |
PHP-Version 5.3.2 PHPUnit-Version 3.4.11 PDO Driver for MySQL, client library version => 5.0.83 doctrine-trunk@7546 Kubuntu 9.10 / 32bit |
Roman S. Borschel
made changes -
| Affects Version/s | 2.0-BETA1 [ 10030 ] | |
| Fix Version/s | 2.0-BETA2 [ 10050 ] |
Roman S. Borschel
made changes -
| Priority | Major [ 3 ] | Critical [ 2 ] |
Christian Heinrich
made changes -
| Assignee | Roman S. Borschel [ romanb ] | Christian Heinrich [ shurakai ] |
Christian Heinrich
made changes -
| Status | Open [ 1 ] | In Progress [ 3 ] |
Roman S. Borschel
made changes -
| Fix Version/s | 2.0-BETA3 [ 10060 ] | |
| Fix Version/s | 2.0-BETA2 [ 10050 ] |
Roman S. Borschel
made changes -
| Assignee | Christian Heinrich [ shurakai ] | Benjamin Eberlei [ beberlei ] |
Benjamin Eberlei
made changes -
| Status | In Progress [ 3 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
Benjamin Eberlei
made changes -
| Workflow | jira [ 11191 ] | jira-feedback [ 14375 ] |
Benjamin Eberlei
made changes -
| Workflow | jira-feedback [ 14375 ] | jira-feedback2 [ 16239 ] |
Benjamin Eberlei
made changes -
| Workflow | jira-feedback2 [ 16239 ] | jira-feedback3 [ 18492 ] |
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-501, expand=changesets[-21:-1].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)
Forgot to tell trunk revision