Bug #68602
closedEpic #68397: Make TYPO3 work with MySQL strict mode
NULL values in records get transformed to FALSE on T3D import
100%
Description
Given a database record with a NULL value in a column the export file generated will have a XML node like <field index="link" type="NULL"></field> - properly representing the NULL value.
On Import the value gets transformed into a boolean somewhere during the import.
Updated by Marc Bastian Heinrichs over 9 years ago
Wondering about this error. With #55082 this was normally fixed. And if you look at the assertion importPagesAndRelatedTtContentWithDifferentImageToExistingData.csv you see that link is asserted NULL.
Updated by Morton Jonuschat over 9 years ago
If I understand this correctly then the test should fail even when not running in MySQL strict mode. The link field in sys_file_reference is defined as "NOT NULL" with a default of '' (empty string). So the conversion of FALSE to '' makes this test pass?
Updated by Morton Jonuschat over 9 years ago
- Status changed from New to In Progress
Updated by Gerrit Code Review over 9 years ago
- Status changed from In Progress 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 http://review.typo3.org/42260
Updated by Gerrit Code Review over 9 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42260
Updated by Morton Jonuschat over 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset e4ee3f0b5740684eb14966317b54068c0a306b0d.
Updated by Marc Bastian Heinrichs over 9 years ago
Jep, sure, you are right. Pushed a fix for #68810 to adapt the impexp test data.
Updated by Anja Leichsenring almost 9 years ago
- Sprint Focus set to On Location Sprint
Updated by Mathias Schreiber over 8 years ago
- Sprint Focus deleted (
On Location Sprint)
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed