[DDC-1545] Update on loaded association not detected upon flush() Created: 18/Dec/11 Updated: 19/Dec/11 Resolved: 19/Dec/11 |
|
| Status: | Resolved |
| Project: | Doctrine 2 - ORM |
| Component/s: | ORM |
| Affects Version/s: | Git Master |
| Fix Version/s: | 2.1.5, 2.2 |
| Security Level: | All |
| Type: | Bug | Priority: | Critical |
| Reporter: | Bernhard Schussek | Assignee: | Guilherme Blanco |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
If an association is joined during fetching and then updated in-memory, the update is not detected during flushing. I made the following test cases: Association is joined:
Assocation is not joined:
|
| Comments |
| Comment by Bernhard Schussek [ 18/Dec/11 ] |
|
See here for the test case: https://github.com/bschussek/doctrine-orm/tree/DDC-1545 |
| Comment by Guilherme Blanco [ 19/Dec/11 ] |
|
Increasing priority |
| Comment by Guilherme Blanco [ 19/Dec/11 ] |
|
Issue fixed since this commit: https://github.com/doctrine/doctrine2/commit/a8478d5766e2cc4185612af680b7f6bcd83af61e Thanks a lot for the bug reporting. It was the second time someone reported me this issue and I could not reproduce! =) |
| Comment by Benjamin Eberlei [ 19/Dec/11 ] |
|
This issue is referenced in Github Pull-Request GH-229 |
| Comment by Benjamin Eberlei [ 19/Dec/11 ] |
|
Related Pull Request was closed: https://github.com/doctrine/doctrine2/pull/229 |
| Comment by Benjamin Eberlei [ 19/Dec/11 ] |
|
Fixed properly now. Will be merged into 2.1.x |
| Comment by Benjamin Eberlei [ 19/Dec/11 ] |
|
Update fix version, this was merged into 2.1.5 |