Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-2393

Doctrine ORM put null to relation field when write persisting

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Incomplete
    • Affects Version/s: 2.3.3
    • Fix Version/s: None
    • Component/s: ORM
    • Security Level: All
    • Labels:
      None
    • Environment:
      symfony2.2

      Description

      There is my bundle, for more details:
      https://github.com/hell0w0rd/bad-doctrine-entities

        Activity

        Nikita created issue -
        Hide
        Marco Pivetta added a comment -

        Can you please make an example of what the failure you're experiencing looks like? What is being done? What is the expected result? What is the experienced behaviour?

        Show
        Marco Pivetta added a comment - Can you please make an example of what the failure you're experiencing looks like? What is being done? What is the expected result? What is the experienced behaviour?
        Marco Pivetta made changes -
        Field Original Value New Value
        Status Open [ 1 ] Awaiting Feedback [ 10000 ]
        Hide
        Nikita added a comment -

        When controller persist object, I'm expecting orm put not null into relation field in fact it is not so.

        Show
        Nikita added a comment - When controller persist object, I'm expecting orm put not null into relation field in fact it is not so.
        Hide
        Marco Pivetta added a comment -

        Nikita the example at https://github.com/hell0w0rd/bad-doctrine-entities/blob/master/DeskBundle/Controller/PostController.php#L15-L21 is not enough to open an issue. Can you please build a simple script that does not involve third party components and that reproduces your problem? It should work only with the ORM.

        Show
        Marco Pivetta added a comment - Nikita the example at https://github.com/hell0w0rd/bad-doctrine-entities/blob/master/DeskBundle/Controller/PostController.php#L15-L21 is not enough to open an issue. Can you please build a simple script that does not involve third party components and that reproduces your problem? It should work only with the ORM.
        Hide
        Nikita added a comment -

        My issue is closely connected with third party components, because they decouple from each other - is not to decide

        Show
        Nikita added a comment - My issue is closely connected with third party components, because they decouple from each other - is not to decide
        Hide
        Marco Pivetta added a comment -

        Then it's impossible for us to decide what the cause is. I'm closing this one - consider reproducing the problem locally and then deciding whether this is an ORM or a symfony form problem.

        Show
        Marco Pivetta added a comment - Then it's impossible for us to decide what the cause is. I'm closing this one - consider reproducing the problem locally and then deciding whether this is an ORM or a symfony form problem.
        Marco Pivetta made changes -
        Status Awaiting Feedback [ 10000 ] In Progress [ 3 ]
        Marco Pivetta made changes -
        Status In Progress [ 3 ] Closed [ 6 ]
        Assignee Benjamin Eberlei [ beberlei ] Marco Pivetta [ ocramius ]
        Resolution Incomplete [ 4 ]

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

          People

          • Assignee:
            Marco Pivetta
            Reporter:
            Nikita
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: