Uploaded image for project: 'Doctrine MongoDB ODM'
  1. Doctrine MongoDB ODM
  2. MODM-179

Wrong LifecycleCallbacks type object passed

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 1.0.0BETA3
    • Fix Version/s: None
    • Component/s: UnitOfWork
    • Labels:
      None
    • Environment:
      PHP 5.4.24
      Symfony 2.4

      Description

      I've an exception error when trying to update an object, due to the lifecycle callback:

      Expected document class "Ae\CoreBundle\Document\Advertiser"; found: "MongoDBODMProxies_CG_\Ae\CoreBundle\Document\Advertiser"

      The stack trace says it comes from:
      ClassMetadataInfo ->invokeLifecycleCallbacks ('preUpdate', object(Advertiser))

      I have to disable my lifecycle callbacks to keep my app working... wich is really bad.

      Thank you for your help,

      Best regards

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            jwage Jonathan H. Wage
            Reporter:
            pier Pierre B
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: