Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-2332

[UnitOfWork::doPersist()] The spl_objact_hash() generate not unique hash!

    Details

    • Type: Bug Bug
    • Status: Awaiting Feedback
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: ORM
    • Security Level: All
    • Labels:
      None
    • Environment:
      Symfony 2.1.8, php 5.4.7 and php 5.4.12, Windows 7

      Description

      I created fixtures and some data was inserted many times without calling the Task entity PrePersist event listener.

      I printed the used and generated hash and I saw a Proxies_CG_\Asitly\ProjectManagementBundle\Entity\User hash equal a Task entity hash!

      1. hashlogs.txt
        324 kB
        Krisztián Ferenczi

        Activity

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Krisztián Ferenczi
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated: