Actions
Bug #23834
closedUPDATE queries fails for $GLOBALS['TYPO3_DB']->sql_query
Status:
Closed
Priority:
Should have
Assignee:
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2010-10-24
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
UPDATE queries fails for $GLOBALS['TYPO3_DB']->sql_query when dbal is installed, look at typo3/sysext/dbal/class.ux_t3lib_db.php
LINE 834
foreach ($components['FIELDS'] as $fN => $fV) {
SHOULD BE
foreach ($queryParts['FIELDS'] as $fN => $fV) {
as $components['FIELDS'] is not defined/empty here, should be $queryParts['FIELDS']
In case of UPDATE queries $GLOBALS['TYPO3_DB']->sql_query the query is broken because the fields are empty, so UPDATE queries do not work using DBAL in case of native configuration
(issue imported from #M16120)
Files
Actions