Bug #83403
closed<span></span> tag not filled in form extension for type radio
100%
Description
Hi,
when upgrading from 8.7.8 to 8.7.9 I get the following error:
In 8.7.8 my form was rendered to:
<label class="form-check-label check0">
<input class="xlarge form-check-input" type="radio" name="tx_form_formframework[anfrage][radiobutton-1]" value="Informatik" checked="checked">
<span> Informatik</span>
</label>
whereas in 8.7.9 and current 8.7 branch the result is an empty <span> tag:
<label class="form-check-label check0">
<input class="xlarge form-check-input" type="radio" name="tx_form_formframework[anfrage][radiobutton-1]" value="Informatik" checked="checked">
<span></span>
</label>
I could trace it down to changes in form -> Classes -> Service and ViewHelpers but could not break it down further to a single change. Check0 and counting the radiobuttons in the group is an extension of my own, which still works fine
Best regrads
Eckard.
Updated by Eckard Gehrke almost 7 years ago
- Priority changed from Should have to -- undefined --
- Target version deleted (
next-patchlevel)
Hi,
after some more search I found the issue:
If you use own partials RadioButton.html needs to be adopted before you upgrade to 8.7.9
The span tag should now read:
<span>{formvh:translateElementProperty(element: element, property: '{0: \'options\', 1: value}')}</span>
because TranslationService was changed.
Maybe you give some hints on which other own partials should be adopted before the upgrade.
Best regards
Eckard.
PS: Can't set it myelf to resolved.
Updated by Oliver Hader almost 7 years ago
- Priority changed from -- undefined -- to Should have
Updated by Ralf Zimmermann almost 7 years ago
- Related to Bug #82210: ext:form multi checkbox values containing . or & result in empty frontend labels added
Updated by Gerrit Code Review almost 7 years ago
- Status changed from New to Under Review
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55306
Updated by Gerrit Code Review almost 7 years ago
Patch set 2 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55306
Updated by Gerrit Code Review almost 7 years ago
Patch set 3 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55306
Updated by Gerrit Code Review almost 7 years ago
Patch set 4 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55306
Updated by Ralf Zimmermann almost 7 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset edd210da6039ead6f14e459f5cbcd1d560b3b9b5.