Project

General

Profile

Actions

Task #55702

closed

Make ContentObject TEXT behave consistently with all other cObjects

Added by Chris topher almost 11 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Won't have this time
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2014-02-05
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.5
Tags:
Complexity:
Sprint Focus:

Description

People sometimes complain the cObject TEXT would work inconsistently compared to all other cObjects - and they are right.

cObject TEXT currently offers stdWrap at two places:
  • under the property "stdWrap" (just like any other cObject does as well) and
  • additionally at the rootlevel of the cObject.

The rootlevel properties are not only superfluous, they also make the whole code messy: E.g. we currently have to artificially unset .value before we can pass the rest to the rootlevel stdWrap. On the other hand, the property .stdWrap itself is not even explicitly mentioned in the code, which makes it even more messy; the property ".stdWrap" is executed only as part of passing all properties to the rootlevel stdWrap. That is not nice. Also is having rootlevel properties inconsistent with the way all other cObjects work.

We start cleaning up this mess by deprecating the rootlevel properties. That way we will be able to get rid of these strange code constructs (like having to unset properties) and the cObject will behave consistently with all other cObjects.

Actions

Also available in: Atom PDF