Bug #104490
openUndocumented effects of avoiding registerTagAttribute() in VH's
0%
Description
With commit https://github.com/TYPO3/typo3/commit/21d3f18b0ee8c7e2915f2ca3d054704ce06a4ec4 occurrences of registerTagAttribute()
in VHs were removed.
The HTML output behaviour of Boolean attributes, which were previously defined via registerTagAttribute()
, has changed in the event that the attribute was set without a value .
It can happen that inline conditions are used in extensions in the context of the fluid attribute, which should be decisive for whether the boolean attribute should be output in HTML or not.
Example
<f:form.textarea name="myname" value="myvalue" readonly="{f:if(condition:anyCondition,then:'1')}" />
If in the example anyCondition
is FALSE
, then the attribute readonly
is not used in HTML in TYPO3 v12 and is now used in TYPO3 v13. This is therefore a breaking change that should be documented so that extension maintainers can react appropriately to the new feature.
EXT:translate_locallang
can also be analysed to evaluate the possible effects.
Issue: https://github.com/rrrapha/translate_locallang/issues/81
Fix: https://github.com/rrrapha/translate_locallang/pull/82