Task #55702
closedMake ContentObject TEXT behave consistently with all other cObjects
100%
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.
Updated by Gerrit Code Review almost 11 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27363
Updated by Gerrit Code Review almost 11 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27363
Updated by Gerrit Code Review almost 11 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27363
Updated by Chris topher over 10 years ago
- Status changed from Under Review to Closed
- Priority changed from Should have to Won't have this time
- Target version deleted (
6.2.0) - % Done changed from 0 to 100