Hello,
i have a entity with many oneToOne relation care to patient/meeting/contact.... but something is strange :
i save care entity with
:
and too have try with
But the result :
sometime i have :
patientId is filled sometime .. contactId is filled sometime... i never see all filled !
all entity is not null, on global->log, all id is there.
Any help
Thanks
i have a entity with many oneToOne relation care to patient/meeting/contact.... but something is strange :
i save care entity with
PHP Code:
'patientId' => $patient->id,
'meetingId' => $meeting->id,
'contactId' => $contact->id,
'institutionId' => $institutionId,
and too have try with
PHP Code:
$entityManager->getRepository('Care')->relate($care, 'patient', $patient);
$entityManager->getRepository('Care')->relate($care, 'meeting', $meeting);
$entityManager->getRepository('Care')->relate($care, 'contact', $contact);
sometime i have :
patientId is filled sometime .. contactId is filled sometime... i never see all filled !
all entity is not null, on global->log, all id is there.
Any help
Thanks
Comment