Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-875

Merge can sometimes add the same entity twice into a collection

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.0-BETA4
    • Fix Version/s: None
    • Component/s: ORM
    • Security Level: All
    • Labels:
      None

      Description

      When merging some cascade merge object-graphs, the same entity in a ManyToMany association can be put into a collection twice during doMerge.

      The attached patch should stop this from happening.

      1. multipleaddmerge.diff
        1 kB
        Dave Keen
      2. multipleaddmerge2.diff
        1 kB
        Dave Keen

        Activity

          People

          • Assignee:
            Roman S. Borschel
            Reporter:
            Dave Keen
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: