Bug #66430
closedEpic #68397: Make TYPO3 work with MySQL strict mode
Avoid MySQL Warning in File Meta Index process
100%
Description
Hey guys,
the current "typo3/sysext/core/Classes/Resource/Index/MetaDataRepository.php" create a index record with "file,pid,crdate,tstamp,cruser_id". But in the database definition the "l10n_diffsource" has no default value:
...
l10n_diffsource mediumblob NOT NULL,
...
So we get this MySQL Warning: Warning 1364 Field 'l10n_diffsource' doesn't have a default value
Should we add a "DEFAULT ''" to the definition or set a empty string for the field in MetaDataRepository?
Regards,
Tim
Updated by Georg Ringer over 9 years ago
mysql strict is currently not supported by the core. but yes should be fixed. wanna create a patch?
Updated by Gerrit Code Review over 9 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 http://review.typo3.org/42397
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/42397
Updated by Gerrit Code Review over 9 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42397
Updated by Gerrit Code Review over 9 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42397
Updated by Gerrit Code Review over 9 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42397
Updated by Oliver Hader over 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset ffc7a7c702a4cbc20e97758d883f94e3737e92a0.
Updated by Anja Leichsenring over 6 years ago
- Related to Bug #85084: Language field in Alternative Page Language always defaults to 0 added