Project

General

Profile

Actions

Bug #63778

closed

Bug #63692: Memory consumption while bulk inserting

Do not fetch TSconfig in DataHandler->process_datamap for non-page-records

Added by Stephan Großberndt almost 10 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Performance
Target version:
Start date:
2014-12-11
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:

Description

In DataHandler->process_datamap for each record DataHandler->getTCEMAIN_TSconfig is executed, but the TSconfig is used only if $status 'new' && $table 'pages'

if ($recordAccess) {
    // Here the "pid" is set IF NOT the old pid was a string pointing to a place in the subst-id array.
    list($tscPID) = BackendUtility::getTSCpid($table, $id, $old_pid_value ? $old_pid_value : $fieldArray['pid']);
    $TSConfig = $this->getTCEMAIN_TSconfig($tscPID);
    if ($status == 'new' && $table == 'pages' && is_array($TSConfig['permissions.'])) {
        $fieldArray = $this->setTSconfigPermissions($fieldArray, $TSConfig['permissions.']);
    }
Actions #1

Updated by Alexander Opitz almost 10 years ago

  • Parent task set to #63692
Actions #2

Updated by Gerrit Code Review almost 10 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 http://review.typo3.org/35304

Actions #3

Updated by Gerrit Code Review almost 10 years ago

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

Actions #4

Updated by Gerrit Code Review almost 10 years ago

Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35318

Actions #5

Updated by Stephan Großberndt almost 10 years ago

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

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF