Bug #53662
closedDatabaseConnection INSERTquery does not allow NULL values
100%
Description
When you create a new record that has input
fields with the new eval
NULL
setting the value is set correctly to NULL
in the DataHandler
but it is inserted as an empty string in the database.
The reason for this is, that the INSERTQuery()
method in the DatabaseConnection
class does not supply the $allowNull
parameter to the fullQuoteArray()
method. The UPDATEquery()
method already does this so this can also be enabled for INSERTQuery()
.
Updated by Gerrit Code Review about 11 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/25422
Updated by Gerrit Code Review almost 11 years ago
Patch set 1 for branch TYPO3_6-1 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/26638
Updated by Alexander Stehlik almost 11 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 8207a2bb3ffa3b0dbdac402955487ab4decab9d7.
Updated by Gerrit Code Review almost 11 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch TYPO3_6-0 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/26644
Updated by Alexander Stehlik almost 11 years ago
- Status changed from Under Review to Resolved
Applied in changeset 2c40d1b1621c0bb50da301bab82de98279ff250b.
Updated by Christian Reiter over 7 years ago
- Related to Bug #81784: DatabaseConnection function INSERTmultipleRows does not allow NULL values added