#23913Regression : Typoscript "required" did not work anymore
Description
Since bug 16110 have been resolved, typoscript conditions did not work anymore.
For example, in the following typoscript code,
For example, in the following typoscript code,
will wrap the field_imagelegend field even if field_imagelegend is empty.
10 = COA
10.stdWrap.wrap =
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
}
10.stdWrap.wrap =
|
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)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.