Actions
Bug #50301
closedGenerated thumbnail's URL with BackendUtility::getThumbNail don't work
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2013-07-22
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.0
PHP Version:
5.4
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
When a thumbnail's URL is generated with BackendUtility::getThumbNail, the "thumbs.php" script can't display it.
It trows an exception:
TYPO3 Fatal Error: The requested image does not exist and/or MD5 checksum did not match. If the target file exists and its file name contains special characters, the setting of $TYPO3_CONF_VARS[SYS][systemLocale] might be wrong.
The bug comes from MD5 checksum:
- In "BackendUtility::getThumbNail", the checksum is calculated with "md5"
- In "ThumbnailView::init", the checksum is calculated with "GeneralUtility::shortMD5"
I don't know which one should be changed, i let you choose.
Actions