Project

General

Profile

Actions

Bug #76876

closed

Extbase Repository->update() does not work

Added by Wolfram Eberius almost 8 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Extbase
Start date:
2016-06-30
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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...

Actions

Also available in: Atom PDF