Doctrine PHPCR
  1. Doctrine PHPCR
  2. PHPCR-90

referrer delete and cascade delete

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Labels:
      None

      Description

      currently, removing an entry from the referrer collection has no effect, nothing is deleted.

      without cascading, we should delete the value from the referencing property (needs the filter(mappedBy) attribute again), with cascading we should delete the referencing document.

      see also https://github.com/doctrine/phpcr-odm/pull/234

        Activity

        Hide
        David Buchmann added a comment -

        adding something to the referrers collection is also not taken into account atm.

        Show
        David Buchmann added a comment - adding something to the referrers collection is also not taken into account atm.
        Show
        David Buchmann added a comment - https://github.com/doctrine/phpcr-odm/pull/252

          People

          • Assignee:
            Lukas Kahwe
            Reporter:
            David Buchmann
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: