
Untitled
By: a guest on
May 30th, 2012 | syntax:
None | size: 0.94 KB | hits: 38 | expires: Never
TEMPLATEFILE:
...
<li>
<label for="email">E-Mail</label>
<f:form.textfield id="email" property="party.primaryElectronicAddress.identifier"
value="{party.primaryElectronicAddress.identifier}"/>
</li>
...
LOGINCONTROLERFILE:
public function updateAction(\TYPO3\FLOW3\Security\Account $account) {
$this->accountRepository->update($account);
$this->partyRepository->update($account->getParty());
$this->addFlashMessage('Dein Emailadresse wurde angepasst.');
$this->redirect('index', 'Login');
}
FEHLERMELDUNG:
Uncaught Exception in FLOW3
#1297759968: Exception while property mapping at property path "party.primaryElectronicAddress": Object with identity "test@foo.bar" not found. (More information)
TYPO3\FLOW3\Property\Exception thrown in file
/var/www/flow3/Data/Temporary/Development/Cache/Code/FLOW3_Object_Classes/TYPO3_FLOW3_Property_PropertyMapper_Original.php in line 121.
Reference code: 201205301708253c16e9