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

No reference to a loaded document if proxy id = document id

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.0BETA2
    • Component/s: UnitOfWork
    • Labels:
      None

      Description

      If I load a document and it has an internal reference to the same document with the same ID, only responds to changes in the proxy document. The main document will not be considered and any change has no effect.

        Activity

        Thomas Adam created issue -
        Hide
        Jonathan H. Wage added a comment -

        Can I see a test case?

        Show
        Jonathan H. Wage added a comment - Can I see a test case?
        Show
        Thomas Adam added a comment - test case: http://github.com/tecbot/mongodb-odm/commit/df4e3102b4b29f7e7ad6aa24800457b52f93b14d
        Hide
        Jonathan H. Wage added a comment -

        Thanks! This is fixed now. The reference will now be the same instance as the root document itself instead of another instance of the same document.

        Show
        Jonathan H. Wage added a comment - Thanks! This is fixed now. The reference will now be the same instance as the root document itself instead of another instance of the same document.
        Jonathan H. Wage made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.0.0BETA2 [ 10092 ]
        Resolution Fixed [ 1 ]

        This list may be incomplete, as errors occurred whilst retrieving source from linked applications:

        • Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={query=MODM-81, expand=changesets[0:20].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

          People

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

            Dates

            • Created:
              Updated:
              Resolved: