Project

General

Profile

Actions

Bug #78761

closed

DataHandler calls ReferenceIndex mutliple times with same input arguments

Added by Claus Due about 8 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-11-21
Due date:
% Done:

100%

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

Description

When copying etc. a record via DataHandler and the record does cascading operations, which then fill the reference index updating stack, the stack gets processed at the end of the command. However, the reference index updating stack contains duplicate instructions to call reference index updating with the exact same table and uid multiple times.

A small check can be implemented where the reference index gets updated based on the collected stack; checking that the method does not get called twice with the same arguments.

Actions

Also available in: Atom PDF