[TYPO3-core] RFC #13461: bugfix: wrong image-path returned in class.t3lib_tceforms.php if TYPO3-source is symlinked (backend-redesign)
Steffen Gebert
steffen at steffen-gebert.de
Mon Mar 29 12:23:09 CEST 2010
Am 11.03.2010, 13:32 Uhr, schrieb Stephan N Kellermayr
<stephan.kellermayr at t3x.at>:
> type: bugfix
>
> bugtracker references:
> http://bugs.typo3.org/view.php?id=13461
>
> branches:
> trunk, current branch
>
> problem:
> if an extension is installed in 'typo3conf/ext/' and overrides BE-icons,
> the result of 't3lib_iconWorks::skinImg' (line:4008 in
> class.t3lib_tceforms.php) is i.e.
> "../typo3conf/ext/myextension/icons/gfx/i/pages.gif".
> thats correct, but if we use a symlinked TYPO3-source we get an
> incorrect path to the imagefile and so we do not get the correct
> image-dimensions from 'getimagesize' (line:4010)!
>
> the result is, that dropdown-menus in backend-forms which contains
> icons, are not rendered correctly...icon is shown under text and text is
> positioned leftmost because of the missing image-dimensions.
>
> icon-path without patch:
> '/var/www/typo3-4.3.1/typo3/../typo3conf/ext/myextension/icons/gfx/i/pages.gif'
Could you please give an example, how to easily reproduce this?
Review will then follow soon
Thanks!
Steffen
More information about the TYPO3-team-core
mailing list