[TYPO3-core] RFC: #13901: GIFBULDER generates same pic twice
Vladimir Podkovanov
admin at sitesfactory.ru
Wed Mar 24 22:36:00 CET 2010
Hi all,
This is an SVN patch request.
Type: Bugfix
Bugtracker references:
http://bugs.typo3.org/view.php?id=13901
Branches: TYPO3_4-2, TYPO3_4-3, trunk
Problem:
If there are "IMAGE" objects in GIFBULDER object then GIFBULDER
generates result pic twice - first after first call to page and second
after second call and hereafter second pic used.
The both result images are same and stored in GB/ folder but with
different filenames.
It happens because $this->setup (used for generating filenames) little
bit different during first call and second call - types of values in
$this->setup['10.']['BBOX'] are different - during first call dimensions
values in BBOX array are of type Int, during following calls types are
String (as values getting from DB then).
Solution:
Do type casting after reading from DB.
--
-rgds-
Vladimir
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bug_13901.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100325/af3ac284/attachment.txt>
More information about the TYPO3-team-core
mailing list