Doctrine PHPCR
  1. Doctrine PHPCR
  2. PHPCR-68

Versionable Item completely loses references

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Cannot Reproduce
    • 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.

        Activity

        Hide
        David Buchmann added a comment -

        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

        Show
        David Buchmann added a comment - 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
        Hide
        Lukas Kahwe added a comment -

        please reopen once you have a reproduceable test case, thx

        Show
        Lukas Kahwe added a comment - please reopen once you have a reproduceable test case, thx

          People

          • Assignee:
            Lukas Kahwe
            Reporter:
            Freddy H.
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: