Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Service/InstallationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,7 @@ private function saveOnFixedId(ObjectEntity $objectEntity, array $hydrate = []):
$objectEntity->setId($id);
$this->em->persist($objectEntity);
$this->em->flush();
$this->em->clear(get_class($objectEntity));
$objectEntity = $this->em->getRepository('App:ObjectEntity')->findOneBy(['id' => $id]);

$this->io->writeln(['Defintive object id ('.$objectEntity->getId().')']);
Expand Down