Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 30th, 2012  |  syntax: None  |  size: 0.94 KB  |  hits: 38  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. TEMPLATEFILE:
  2. ...
  3. <li>
  4.    <label for="email">E-Mail</label>
  5.    <f:form.textfield id="email" property="party.primaryElectronicAddress.identifier"
  6.        value="{party.primaryElectronicAddress.identifier}"/>
  7. </li>
  8. ...
  9.  
  10. LOGINCONTROLERFILE:
  11. public function updateAction(\TYPO3\FLOW3\Security\Account $account) {                 
  12.                 $this->accountRepository->update($account);
  13.                 $this->partyRepository->update($account->getParty());
  14.                 $this->addFlashMessage('Dein Emailadresse wurde angepasst.');
  15.                 $this->redirect('index', 'Login');
  16.         }
  17.  
  18. FEHLERMELDUNG:
  19. Uncaught Exception in FLOW3
  20. #1297759968: Exception while property mapping at property path "party.primaryElectronicAddress": Object with identity "test@foo.bar" not found. (More information)
  21.  
  22. TYPO3\FLOW3\Property\Exception thrown in file
  23. /var/www/flow3/Data/Temporary/Development/Cache/Code/FLOW3_Object_Classes/TYPO3_FLOW3_Property_PropertyMapper_Original.php in line 121.
  24. Reference code: 201205301708253c16e9