Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-1525

Merge fails with "Maximum function nesting level reached" fatal error

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Git Master
    • Fix Version/s: 2.1.5
    • Component/s: ORM
    • Security Level: All
    • Labels:
      None

      Description

      It is because of the line https://github.com/doctrine/doctrine2/commit/a99ffc126f3ec3fa45fa806bfdba4fc31f1afaa4#L0R1460 where non-strict comparison is done for collection objects.

      I would suggest traversing the elements of the both collections and comparing them using the strict "===" operator.

        Activity

        Hide
        Aigars Gedroics added a comment -
        Show
        Aigars Gedroics added a comment - The https://github.com/doctrine/doctrine2/commit/954b5077e495aa9fa4eb54ef4cb8ac309e9415ae by guilhermeblanco fixes the issue.

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Aigars Gedroics
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: