Actions
Bug #40565
closedUsing listNum in GifBuilder returns empty string
Start date:
2012-09-03
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.7
PHP Version:
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:
Description
When using listNum in a GifBuilder TEXT object and listNum is > 1, the result is an empty string.
The problem is that the stdWrap for the TEXT object is parsed twice, whereas the input string is overwritten after the first run.
How to reproduce:
10 = IMAGE 10.file = GIFBUILDER 10.file { 10 = TEXT 10.text = A/B/C 10.text.listNum = 2 10.text.listNum.splitChar = / }
After one run, 10.10.text will be "B" which leads to an empty result after the split.
The solution is to delete the stdWrap properties after the 1st run.
Actions