Doctrine MongoDB ODM
  1. Doctrine MongoDB ODM
  2. MODM-107

Document Manager does not delete References

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.0BETA2
    • Component/s: None
    • Labels:
      None
    • Environment:
      Ubuntu Linux 10.04 Maveric PHP 5.3.3

      Description

      References are not deleted when the function $dm->remove($x) is called.
      It deltes $x from the database but all references are still persisted.

      See function: testManyDeleteReference() in attached file.

        Activity

        Hide
        Jan Eichhorn added a comment -

        I don't know why Billy Bob has deleted the description?
        So i've restored it ....
        Please don't do this without leaving a comment why!

        Show
        Jan Eichhorn added a comment - I don't know why Billy Bob has deleted the description? So i've restored it .... Please don't do this without leaving a comment why!
        Hide
        Jonathan H. Wage added a comment -
        Show
        Jonathan H. Wage added a comment - This is fixed here https://github.com/doctrine/mongodb-odm/commit/1791da1a406d67dc32fcb72cc200ccd2cd6cb828 Thanks for the issue report!

          People

          • Assignee:
            Jonathan H. Wage
            Reporter:
            Jan Eichhorn
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: