[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


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.

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

Generated at Mon Oct 05 23:55:29 EDT 2015 using JIRA 6.4.10#64025-sha1:5b8b74079161cd76a20ab66dda52747ee6701bd6.