taskcenter - wrongly created path for icon (in certain conditions)
The path for icon in taskcenter is created wtih:
$icon = $GLOBALS['BACK_PATH'] . '../' . str_replace(PATH_site, '', $absIconPath);
There are some edge situations when the PATH_site is equal to "/". In that case the backslash from icon path will be removed and such path of icon generated:
Check if path is "/"
$icon = $GLOBALS['BACK_PATH'] . '../' . (PATH_site == '/' ? $absIconPath : str_replace(PATH_site, '', $absIconPath));
(issue imported from #M16216)
which TYPO3 version does this patch belongs to?
Seems like the path in the patch is wrong.
I will create second patch.
New version of patch with relative pathes uploaded. Sorry for trouble.
+1 by reading and testing.
Can't find this issue in the core list, did you post it there?
Yes it was posted on 2010.11.02
v3 - new version of the patch according to Jeff Segars suggestions.
- Target version deleted (
- TYPO3 Version set to 4.4
- Is Regression set to No
as this issue is very old. Does the problem still exists within newer versions of TYPO3 CMS (4.5 or 6.1)?
- Status changed from New to Closed
task center has been redone with 4.5, therefore I am closing this issue.
feel free to reopen if still valid
Also available in: Atom