Actions
Task #78884
closedEnsure consistent handling of BLOBs in database queries
Status:
Closed
Priority:
Should have
Assignee:
Category:
Database API (Doctrine DBAL)
Target version:
Start date:
2016-12-09
Due date:
% Done:
100%
Estimated time:
(Total: 0.00 h)
TYPO3 Version:
8
PHP Version:
7.1
Tags:
Complexity:
Sprint Focus:
Description
Different database drivers handle BLOBs differently. The way TYPO3 treats them as strings leads to a couple of problems
- Some database drivers require special handling of BLOBs on write access to deal with encoding
- Some database drivers return BLOBs as resources on read access
To ease the handling of BLOBs in the core they should always be treated as (decoded) strings on read and should be marked as a BLOB/BINARY type on write. The read access side of things can be dealt with automatically, write access needs to properly declare the data type.
Actions