Project

General

Profile

Actions

Bug #23913

closed

Regression : Typoscript "required" did not work anymore

Added by Nicolas MATHON over 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
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= &lt;div class=&quot;legendMedia&quot;&gt;|&lt;/div&gt;
}

Above typoscript code worked before bug 16110 was resolved.

(issue imported from #M16217)


Files

16217_tslib_content.diff (998 Bytes) 16217_tslib_content.diff Administrator Admin, 2010-11-02 18:28

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #23826: stdWrap "insertData" does not work anymore if using "override" additionallyClosed2010-10-22

Actions
Actions

Also available in: Atom PDF