Closed quazardous closed 8 years ago
quick fix
...
if (is_null($user)) {
$user = $this->diamanteUserService->createDiamanteUser($this->prepareCreateUserCommandRecipient($recipient));
}
...
protected function prepareCreateUserCommandRecipient(MessageRecipient $recipient)
{
$command = new CreateDiamanteUserCommand();
$command->email = $recipient->getEmail();
$command->username = $recipient->getEmail();
$command->firstName = $recipient->getFirstName();
$command->lastName = $recipient->getLastName();
return $command;
}
...
Hi @quazardous Thank you, the behavior is indeed invalid.
We'll fix this issue in next release.
Fixed
HI,
I've got errors when launching:
imap is OK, first message was ok.
there is something wrong with the logic:
Of course I'm a total newby with diamente...
a quick backtrace
I'm on the master branch with a composer update