Project

General

Profile

Actions

Bug #59691

closed

repository->add must not update existing object

Added by Peter Niederlag almost 10 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2014-06-20
Due date:
% Done:

0%

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

Description

The behaviour of the repository->add() method was changed by changes https://review.typo3.org/19992/ and https://review.typo3.org/20134

The repository->add method must not update/handle an existing object that already has in identity. For Updating existing object the repository->update() method must be used.

->add() should (again) throw a proper Exception for an invalid usage of using add() for an existing object.

Actions

Also available in: Atom PDF