Actions
Bug #23913
closedRegression : Typoscript "required" did not work anymore
Start date:
2010-11-02
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Since bug 16110 have been resolved, typoscript conditions did not work anymore.
For example, in the following typoscript code, <div class="legendMedia"> will wrap the field_imagelegend field even if field_imagelegend is empty.
10 = COA
10.stdWrap.wrap = <div class="containerMedia">|</div>
10.stdWrap.fieldRequired = field_image
10 {
10 = IMAGE
10.altText.field = field_imagealt
10.required = 1
10.file {
XY = [10.w],[10.h]
import = uploads/tx_templavoila/
import.current = 1
import.listNum = 0
maxW = 172
minW = 0
maxH = 300
minH = 0
}
20 = TEXT
20.field = field_imagelegend
20.required = 1
20.wrap= <div class="legendMedia">|</div>
}
Above typoscript code worked before bug 16110 was resolved.
(issue imported from #M16217)
Files
Actions