[TYPO3-core] RFC #15663: Bug/NoBrainer: SpriteGenerator adds empty folder to spritebase, which results in wrong css

Steffen Ritter info at rs-websystems.de
Sun Oct 17 10:55:16 CEST 2010


Am 08.09.2010 14:41, schrieb Steffen Ritter:
> Hey list,
> This is an SVN patch request.
>
> Type: Bug
>
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=15663
>
> Branches: trunk (SpriteGenerator only in trunk)
>
>
> Problem:
> If you do not ommit the sprite name, in the sprite-icon-names the
> spriteGenerator also will scan the "root folder" (and not only
> subfolders) of the directory specified.
> Due to a missing check a empty folder string is added to an array which
> results in an css class like
>
> .t3-icon- {
>
> }
>
> This one is wrong, superflouous and cannot be used ever.
>
> Notes:
> I consider this to be a no brainer and think this just could be
> committed right away as NoBrainer or FYI.
>
>
> regards
> Steffen
attached is a follow with an bug which shows up after this one

If single icons are added, and sprite name is omitted, no "sprite-base" 
is defined ( no backgruond loaded in css).

--> Fix it

Furthermore, the wrong iconname was written to css.

regards

Steffen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: spriteGeneratorFix2.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101017/af9cd869/attachment.asc>


More information about the TYPO3-team-core mailing list