Answer the question
In order to leave comments, you need to log in
Why is the Doctrine field not updating?
The table has 2 columns referring to the same entity. For some reason, only one of them is updated.
$user = $this->readOne($primary);
$user = $this->getUser($data, $user);
$this->entityManager->merge($user);
$this->entityManager->flush();
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question