0
フロー3のセキュリティアカウント/パーティモジュールに問題があります。フロー3人名ロールバック
私は党としての人の最初と最後の名前を変更しようとしました:
$person = $account->getParty();
$name = $person->getName();
$name->setFirstName($firstName);
$name->setLastName($lastName);
$this->accountRepository->update($account);
$this->partyRepository->update($person);
$アカウントが有効\TYPO3\FLOW3\Security\Account
オブジェクトです。
このコードを使用して$ firstNameと$ lastnameを変更すると、flow3はロールバックしています。
私は回避策が見つかりました:
$personName = new \TYPO3\Party\Domain\Model\PersonName('', $firstName,'', $lastName);
$person->setName($personName);
これが正常に動作しますが、なぜ?