[TYPO3-core] RFC: #13901: GIFBULDER generates same pic twice

Ernesto Baschny [cron IT] ernst at cron-it.de
Thu Mar 25 14:25:52 CET 2010


Vladimir Podkovanov schrieb am 24.03.2010 22:36:
> 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.

I also tend to +1 on reading. But to make sure: Do you have an example
minimal TypoScript which would make us "see the problem in action"?

Cheers,
Ernesto


More information about the TYPO3-team-core mailing list