Project

General

Profile

Actions

Feature #79438

closed

Add the possibility to disable checkStoredRecord

Added by Thomas Hohn about 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
DataHandler aka TCEmain
Target version:
Start date:
2017-01-24
Due date:
% Done:

100%

Estimated time:
PHP Version:
7.0
Tags:
Complexity:
Sprint Focus:

Description

This request has the aim to make in possible to disable the call to checkStoredRecord
when Insert/Updates are performed by the Datahandler.

As default the following configuration has been add to

$GLOBALS['TYPO3_CONF_VARS']['BE']

'checkStoredRecords' => [
            'enable' => true,
            'checkStoredRecordsLoose' => true
],


This ensures that the original functionality is kept as today. If enable is set to false
the checkStoredRecord is NOT called on insert/updates and might lead to truncated
data in the database depending on the configuration of the database.
However a speed-up of a factor 2 can be achieved - and especially in the scenario
where exists page-tree are copied this can give a significant speedup. Since the
checkStoredRecord has a side-effect of loading the record - there might be situations
where [NO-Title] is written as element title in sys_log. However this must be considered
as a small trade-off to the speed gained.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #101793: Remove DataHandler->checkStoredRecord()Closed2023-08-30

Actions
Actions #1

Updated by Thomas Hohn about 7 years ago

  • Description updated (diff)
Actions #2

Updated by Thomas Hohn about 7 years ago

  • Subject changed from Remove checkStoredRecord in to Remove method checkStoredRecord
  • Description updated (diff)
Actions #3

Updated by Gerrit Code Review about 7 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51405

Actions #4

Updated by Gerrit Code Review about 7 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51405

Actions #5

Updated by Gerrit Code Review about 7 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51405

Actions #6

Updated by Gerrit Code Review about 7 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51405

Actions #7

Updated by Thomas Hohn about 7 years ago

  • Subject changed from Remove method checkStoredRecord to Add the possibility to disable checkStoredRecord
  • Description updated (diff)
Actions #8

Updated by Thomas Hohn about 7 years ago

  • Description updated (diff)
Actions #9

Updated by Gerrit Code Review about 7 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51405

Actions #10

Updated by Gerrit Code Review about 7 years ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51405

Actions #11

Updated by Gerrit Code Review about 7 years ago

Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51405

Actions #12

Updated by Gerrit Code Review about 7 years ago

Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51405

Actions #13

Updated by Gerrit Code Review about 7 years ago

Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51405

Actions #14

Updated by Gerrit Code Review about 7 years ago

Patch set 10 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51405

Actions #15

Updated by Gerrit Code Review about 7 years ago

Patch set 11 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51405

Actions #16

Updated by Gerrit Code Review about 7 years ago

Patch set 12 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51405

Actions #17

Updated by Gerrit Code Review about 7 years ago

Patch set 13 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51405

Actions #18

Updated by Gerrit Code Review about 7 years ago

Patch set 14 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51405

Actions #19

Updated by Gerrit Code Review about 7 years ago

Patch set 15 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51405

Actions #20

Updated by Gerrit Code Review about 7 years ago

Patch set 16 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51405

Actions #21

Updated by Gerrit Code Review about 7 years ago

Patch set 17 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/51405

Actions #22

Updated by Thomas Hohn about 7 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #23

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions #24

Updated by Christian Kuhn 8 months ago

  • Related to Task #101793: Remove DataHandler->checkStoredRecord() added
Actions

Also available in: Atom PDF