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

        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.
        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 -

        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 -

        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 -

        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?

          People

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

            Dates

            • Created:
              Updated:
              Resolved: