[TYPO3-core] RFC #17564: Bug: Red question marks in QuickEdit instead of icons.
Bürokommunikation Ettmüller
info at comtelsoft.de
Sun Feb 13 15:16:33 CET 2011
This is an SVN patch request.
Type: Bugfix
Bugtracker references: http://bugs.typo3.org/view.php?id=17564
Branches: TYPO3_4-5 & trunk
Problem:
Red question marks in QuickEdit instead of icons
Solution:
TCEForms->getIconHTML() is_file fails (line 4159), when checking for a
static image file from db_layout.php (Quickview)
PATH_typo3 . $iconArray[0] is somthing like that:
/some/path/to/typo3/../../../sysext/t3skin/icons/gfx/i/tt_content_uploads.gi
f
Now t3lib_div::resolveBackPath clears it to
/some/sysext/t3skin/icons/gfx/i/tt_content_uploads.gif but this path doesn't
exist.
A solution for me now could be the following, but I am not sure if it has no
sideeffects.
- if (is_file(t3lib_div::resolveBackPath(PATH_typo3 . $iconArray[0]))) {
+ if (is_file(t3lib_div::resolveBackPath(PATH_typo3
.$GLOBALS['temp_modPath']. $iconArray[0]))) {
Notes:
This is my first request patch. I hope that everything is correct :)
Greetings
Juergen Ettmueller
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 17564.diff
Type: application/octet-stream
Size: 735 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110213/a9bae90a/attachment.obj>
More information about the TYPO3-team-core
mailing list