Issue Bug Closed

#90762Linkvalidator "Check this level / Show this level" dropdown contains identical labels

Riccardo De Contardi 03/14/20, 16:39 updated 04/01/20, 21:15

Description

Environment

TYPO3 10.4.0-dev (latest master)

Steps to reproduce

1) Go to Linkvalidator > Tab “Reports” and open the dropdown “Show this level”

or

2) Go to Linkvalidator > Tab “Check links” and open the dropdown “Check this level”

Results:

See attached file:

cattura3.png

Expected results

Different labels should be used

The problem lies on the file /typo3/sysext/linkvalidator/Resources/Private/Layouts/TabContent.html that uses the same label LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.depth_0 for different <option>

        <select name="{prefix}_search_levels" class="form-control">
            <option value="0"{f:if(condition: '{selectedLevel} == 0', then: 'selected')}><f:translate key="LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.depth_0" /></option>
            <option value="1"{f:if(condition: '{selectedLevel} == 1', then: 'selected')}><f:translate key="LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.depth_0" /></option>
            <option value="2"{f:if(condition: '{selectedLevel} == 2', then: 'selected')}><f:translate key="LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.depth_0" /></option>
            <option value="3"{f:if(condition: '{selectedLevel} == 3', then: 'selected')}><f:translate key="LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.depth_0" /></option>
            <option value="4"{f:if(condition: '{selectedLevel} == 4', then: 'selected')}><f:translate key="LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.depth_0" /></option>
            <option value="999"{f:if(condition: '{selectedLevel} == 999', then: 'selected')}><f:translate key="LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels.depth_infi" /></option>
        </select>

Reviews 1