Bug #26867
closedcontent FORM: wrong layout for label
100%
Description
Please have a look at this snippet from TYPO3 4.5.2:
file: /typo3/sysext/cms/tslib/content/class.tslib_content_form.php
line: 685 - 691
if ($confData['type'] == 'label') { $labelLayout = isset($conf['LABEL.']['layout.']) ? $this->cObj->stdWrap($conf['LABEL.']['layout'], $conf['LABEL.']['layout.']) : $conf['CHECK.']['layout']; if ($labelLayout) { $result = $labelLayout; } }
You can find a bug here. Within a content element of the type FORM a field defined als "label" will have the layout of "check". Fix: change line 687
from
: $conf['CHECK.']['layout'];
to
: $conf['LABEL.']['layout'];
Greetings
Updated by Chris topher over 13 years ago
- Status changed from New to Accepted
- Target version set to 4.5.3
Hi Alexander,
thanks for your bug report! You are right.
Can you make a patch and push it to the review server at https://review.typo3.org/?
Further information about posting change requests are documented in the wiki: http://wiki.typo3.org/Contribution_Walkthrough_Tutorials
Updated by Mr. Hudson over 13 years ago
Patch set 1 of change Ie53bbfff4995fc5e5b2ed4c3f2b554eb61ede0d3 has been pushed to the review server.
It is available at http://review.typo3.org/2190
Updated by Mr. Hudson over 13 years ago
Patch set 1 of change I260afc718acaa027a8b2c2636d6c366459e55691 has been pushed to the review server.
It is available at http://review.typo3.org/2191
Updated by Chris topher over 13 years ago
- Status changed from Accepted to Under Review
Updated by Oliver Hader over 13 years ago
- Target version changed from 4.5.3 to 4.5.4
Updated by Markus Klein over 13 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 3ff47c1d61b27194274c7e15c48bce7d0ad2c4e5.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed