Skip to content

Id is null - dev_master #16

@kobs30

Description

@kobs30

GdprSubscriber.php:188

  1. It is onInsert subscriber, in this context we don't have entity id yet.
  2. entity id it integer value, $this->encryptData wait string.

Order.php:154, App\Entity\Order->getId()
GdprSubscriber.php:188, SpecShaper\GdprBundle\Subscribers\GdprSubscriber->onInsert()
GdprSubscriber.php:152, SpecShaper\GdprBundle\Subscribers\GdprSubscriber->onFlush()
ContainerAwareEventManager.php:63, Symfony\Bridge\Doctrine\ContainerAwareEventManager->dispatchEvent()
UnitOfWork.php:3733, Doctrine\ORM\UnitOfWork->dispatchOnFlushEvent()
UnitOfWork.php:424, Doctrine\ORM\UnitOfWork->commit()
EntityManager.php:403, Doctrine\ORM\EntityManager->flush()
OrderRepository.php:94, App\Repository\OrderRepository->save()
ApiController.php:70, App\Controller\ApiController->orderSetup()
HttpKernel.php:181, Symfony\Component\HttpKernel\HttpKernel->handleRaw()
HttpKernel.php:76, Symfony\Component\HttpKernel\HttpKernel->handle()
Kernel.php:197, Symfony\Component\HttpKernel\Kernel->handle()
index.php:29, {main}()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions