Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-810

Issue with detaching entities and updating when using change notification

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0-BETA4
    • Fix Version/s: 2.x
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

      More information coming soon. Attaching a test case

      1. DDC810Test.php
        4 kB
        Jonathan H. Wage

        Activity

        Jonathan H. Wage created issue -
        Jonathan H. Wage made changes -
        Field Original Value New Value
        Attachment DDC810Test.php [ 10804 ]
        Hide
        Benjamin Eberlei added a comment -

        From reading the issue i know what the bug is, indeed this sucks.

        Show
        Benjamin Eberlei added a comment - From reading the issue i know what the bug is, indeed this sucks.
        Hide
        Roman S. Borschel added a comment -

        @Jon: Any more information coming?

        @Benjamin: Can you summarize the essence of the issue shortly?

        Show
        Roman S. Borschel added a comment - @Jon: Any more information coming? @Benjamin: Can you summarize the essence of the issue shortly?
        Hide
        Benjamin Eberlei added a comment -

        @Roman: The UnitOfWork (may) still be pushed as a listener into that entity, and still recieve noticies of update. Which may throw notices because the oid hashes are removed everywhere. Additionally you cant serialize the thing because you still got the UoW inside there.

        Show
        Benjamin Eberlei added a comment - @Roman: The UnitOfWork (may) still be pushed as a listener into that entity, and still recieve noticies of update. Which may throw notices because the oid hashes are removed everywhere. Additionally you cant serialize the thing because you still got the UoW inside there.
        Hide
        Jonathan H. Wage added a comment -

        I don't have anymore information currently. The issue was relayed to me. I will try and find some more information and report back.

        Show
        Jonathan H. Wage added a comment - I don't have anymore information currently. The issue was relayed to me. I will try and find some more information and report back.
        Hide
        Benjamin Eberlei added a comment -

        There is no way to "fix" this issue, i am turning it into a feature request. There needs to be a "postDetach" event that is triggered where the developer can detach the change notification objects.

        Show
        Benjamin Eberlei added a comment - There is no way to "fix" this issue, i am turning it into a feature request. There needs to be a "postDetach" event that is triggered where the developer can detach the change notification objects.
        Benjamin Eberlei made changes -
        Issue Type Bug [ 1 ] Improvement [ 4 ]
        Benjamin Eberlei made changes -
        Fix Version/s 2.1 [ 10022 ]
        Benjamin Eberlei made changes -
        Fix Version/s 2.x [ 10090 ]
        Fix Version/s 2.1 [ 10022 ]
        Benjamin Eberlei made changes -
        Workflow jira [ 11931 ] jira-feedback [ 13877 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback [ 13877 ] jira-feedback2 [ 15741 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 15741 ] jira-feedback3 [ 17998 ]

        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=DDC-810, expand=changesets[0:20].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

          People

          • Assignee:
            Roman S. Borschel
            Reporter:
            Jonathan H. Wage
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: