Project

General

Profile

Actions

Bug #26867

closed

content FORM: wrong layout for label

Added by Alexander Claes over 13 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Content Rendering
Target version:
Start date:
2011-05-17
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #23981: Optimize stdWrap usage for TypoScript content element FORMClosedSteffen Kamper2010-11-07

Actions
Actions #1

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

Actions #2

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

Actions #3

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

Actions #4

Updated by Chris topher over 13 years ago

  • Status changed from Accepted to Under Review
Actions #5

Updated by Oliver Hader over 13 years ago

  • Target version changed from 4.5.3 to 4.5.4
Actions #6

Updated by Markus Klein over 13 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #7

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF