[BUGFIX] Setting $checkStoredRecords leads to missing sys_log data 68/51568/5
authorThomas Hohn <thomas@hohn.dk>
Tue, 7 Feb 2017 20:59:11 +0000 (21:59 +0100)
committerMarkus Klein <markus.klein@typo3.org>
Mon, 20 Feb 2017 17:10:47 +0000 (18:10 +0100)
commitaf76b79ef5ac4ab325d8a4e78fa613a4f8fcb99f
tree6e2604f50bace7d4a616ad57cfb4329089c86303
parentdde2366e3d4003c99c7f9ce6ebf1c01a210d7c76
[BUGFIX] Setting $checkStoredRecords leads to missing sys_log data

Setting the property $checkStoredRecords in DataHandler to false leads
to missing information in sys_log for new records since the
$newRecord array is empty.

This patch fills the $newRecord array with the newly inserted or
updated data - however the only thing that can't be retrieved is
the title since this is fetched through the call to
checkStoredRecord that is not executed.

Resolves: #79669
Releases: master
Change-Id: I2a53bc2880402fbb42fad859c9fef2dd7c5ae167
Reviewed-on: https://review.typo3.org/51568
Reviewed-by: Stephan GroƟberndt <stephan@grossberndt.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Claus Due <claus@phpmind.net>
Tested-by: Claus Due <claus@phpmind.net>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/core/Classes/DataHandling/DataHandler.php