[PHPCR-68] Versionable Item completely loses references Created: 01/Jun/12 Updated: 22/Jul/12 Resolved: 22/Jul/12 |
|
| Status: | Resolved |
| Project: | Doctrine PHPCR |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Freddy H. | Assignee: | Lukas Kahwe |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Description |
|
I have a post that has a reference to a subcategory When i made my post versionable="full", the current and old versions of post lost this reference. So when i call $post->subcategory i get back a Generic ODM document instead of a Subcategory Document I know that relationships are not versionable, but relationships should at least still exist. The workaround is to get the parent path and make a JCR-SQL2 query to fetch the subcategory document. |
| Comments |
| Comment by David Buchmann [ 01/Jun/12 ] |
|
note that this could also be a problem in jackalope. we seem to have issues with the frozenNode thing (either in the implementation or in the correct understanding) https://github.com/jackalope/jackalope-jackrabbit/issues/19 |
| Comment by Lukas Kahwe [ 22/Jul/12 ] |
|
please reopen once you have a reproduceable test case, thx |