[TYPO3-core] RFC: #13901: GIFBULDER generates same pic twice
Ernesto Baschny [cron IT]
ernst at cron-it.de
Thu Mar 25 16:34:22 CET 2010
Vladimir Podkovanov schrieb am 24.03.2010 22:36:
> 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.
+1 by reading and testing. Thanks for the test-case! I wonder how this
bug wasn't notice before!
Commited to:
- trunk (rev. 7162, will be in 4.4.0 beta1)
- TYPO3_4-3 (rev. 7163, will be in 4.3.3)
- TYPO3_4-4 (rev. 7164, will be in 4.2.13)
Thanks Vladimir!
Cheers,
Ernesto
More information about the TYPO3-team-core
mailing list