[BUGFIX] Do not fetch TSconfig in process_datamap for non-page-records 04/35304/3
authorStephan Großberndt <stephan@grossberndt.de>
Thu, 11 Dec 2014 14:32:07 +0000 (15:32 +0100)
committerWouter Wolters <typo3@wouterwolters.nl>
Thu, 11 Dec 2014 20:37:13 +0000 (21:37 +0100)
commit68806a3583e34395cc7b2a1ae525ce49c00ce2a0
treed6d02f65716bb09d1c2a26e424ea93065c64f66c
parent40c58a78997bb93d591ba8f721c5aab577aea04f
[BUGFIX] Do not fetch TSconfig in process_datamap for non-page-records

In DataHandler->process_datamap for each record getTCEMAIN_TSconfig()
is executed, but the returned TSconfig is used only if table is "pages"
and status is "new".

Fetches the TSconfig only if table is "pages" and status is "new".

Resolves: #63778
Releases: master, 6.2
Change-Id: Ifded6daf2b5b6b61a9c95ba3962566450a07d72e
Reviewed-on: http://review.typo3.org/35304
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
Reviewed-by: Lukas Krieger <lukas.krieger@me.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/core/Classes/DataHandling/DataHandler.php