Doctrine PHPCR
  1. Doctrine PHPCR
  2. PHPCR-106

Make getRefererrs return not-yet-flushed referring documents

    Details

    • Type: Task Task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Labels:

      Description

      Currently the DocumentManager->getReferrers() method returns only referrers that have already been flushed to the database.

      It is (I think) desireable for this method to return also those objects which have been added to the UnitOfWork but have not yet been flushed to the database.

        Activity

        Hide
        David Buchmann added a comment -

        this is the same for searching as well, you don't find non-flushed things. i suggest we just document that on the getReferrers method that you only get flushed data.

        note that currently there is the issue that initialized collections are not refreshed, which is something we hope to fix eventually.

        Show
        David Buchmann added a comment - this is the same for searching as well, you don't find non-flushed things. i suggest we just document that on the getReferrers method that you only get flushed data. note that currently there is the issue that initialized collections are not refreshed, which is something we hope to fix eventually.

          People

          • Assignee:
            Lukas Kahwe
            Reporter:
            Daniel Leech
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: