[BUGFIX] Do not fetch TSconfig in process_datamap for non-page-records 18/35318/2
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 21:01:30 +0000 (22:01 +0100)
commit3a19c86142ebd357405b0d77bd0d0ad8b2dea1f3
tree6c8ab97ab719e28c4abb69be452f989914c7b50c
parent7d8e2f18707c332f7a7a51583b1621fb602865da
[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/35318
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/core/Classes/DataHandling/DataHandler.php