[BUGFIX] Old EM: t3lib_DB::exec_INSERTquery errors
authorJigal van Hemert <jigal@xs4all.nl>
Sat, 6 Aug 2011 09:01:04 +0000 (11:01 +0200)
committerJigal van Hemert <jigal@xs4all.nl>
Thu, 11 Aug 2011 07:14:58 +0000 (09:14 +0200)
commit203fa1ee6ab53e902ed7e56c913163ac434d211d
treef4e3abc27fb8712b5216e8a3a209ffb00cf4338f
parent994b01156761a798d321c45996e074bb8c8d41ee
[BUGFIX] Old EM: t3lib_DB::exec_INSERTquery errors

storeXMLResult() fails to filter non-existing database fields and
tries to insert all fields which it parses from the XML. Solution
is to use a default record structure to only use existing column names.

Change-Id: I80ca3170c2840b44497398b2b9cf48c285dc2215
Fixes: #28637
Releases: 4.5, 4.6
Reviewed-on: http://review.typo3.org/4169
Reviewed-by: Rens Admiraal
Reviewed-by: Stefan Neufeind
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
typo3/sysext/em/classes/tools/class.tx_em_tools_xmlhandler.php