Actions
Bug #69039
closedEpic #68397: Make TYPO3 work with MySQL strict mode
Functional Tests: NEWid generation in tests does not match core
Start date:
2015-08-14
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
7
PHP Version:
5.6
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
Datahandler uses: uniqid('NEW', TRUE)
Tests use: 'NEW' . str_replace('.', '', uniqid(mt_rand(), TRUE))
The version in the tests generate IDs that are longer than permitted by the database, leading to test failures in MySQL strict mode and silent data truncation in non-strict MySQL operating mode.
Actions