Issue Bug Closed

#76876Extbase Repository->update() does not work

Wolfram Eberius 06/30/16, 08:46 updated 03/06/20, 07:01

Description

The update() function of an Extbase repository does not work as mentioned in https://docs.typo3.org/typo3cms/ExtbaseFluidBook/3-BlogExample/4-and-action.html. If one tries to update an existing record, TYPO3 returns an Exception, telling the object to be updated is new. One can find the reason in the TYPO3\CMS\Extbase\Persistence\Generic\PersistenceManager’s isNewObject() function, where the object to be updated can not be found in it’s $persistenceSession (where it should be?).

TYPO3 6.2.25
Extbase 6.2
PHP 5.3.19

Exception: The modified object given to update() was not of the type…

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.