Issue Bug Closed

#79635 Coalescence calls to processDatamap_afterDatabaseOperations

Thomas Hohn 02/06/17, 06:56 updated 10/17/17, 23:31

Description

Due to a bug in the Datahandler – extra expensive processing of the hook
processDatamap_afterDatabaseOperations can occur for remapping calls.

Current situation in vanilla TYPO3 installation:
Create page with 1 tt_content element. Copy that page.
This triggers 1 call to processDatamap_afterDatabaseOperations for the page – but also 3 calls to
processDatamap_afterDatabaseOperations for the tt_content element.

It is possible to coalescent calls to processDatamap_afterDatabaseOperations
into one pr. table instead of one pr.
remapstack entry in processRemapStack

It would be better only to issue 1 call for the tt_content element with the “combined” processing array
since each subscriber would need to filter the other 2 calls if only the “signal” that a change
on the table has occurred.

The solution is to add coalescent the entries into one record.

Reviews 2