Actions
Bug #81784
closedDatabaseConnection function INSERTmultipleRows does not allow NULL values
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2017-07-04
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
7
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Just like issue #53662 which affected INSERTquery:
the INSERTmultipleRows()
method in the DatabaseConnection
class does not supply the $allowNull
parameter to the fullQuoteArray()
method.
This causes values that should be NULL to be inserted as empty strings '' instead.
Visible frontend effects will for instance happen with sys_file_reference (title = NULL means no element specific value so load title from sys_file_metadata; title = '' means empty string as specific value - result in a filelinks element would be showing filename instead of metadata title...)
Actions