[TYPO3-core] Changing behavior of the TEXT cObject
Xavier Perseguers
xavier at typo3.org
Thu Feb 6 09:22:32 CET 2014
Hi Francois,
> Christopher (from the Doc Team) has proposed to clean up the TEXT
> cObject to make it behave like other cObjects. His patch [1] would throw
> a deprecation warning when root-level properties of the TEXT object are
> used, except "stdWrap". This makes behavior of all cObjects consistent.
>
> In the patch review, Benni objected that the HTML object was deprecated
> because of its behavior and now we would make the TEXT object behave
> like the old HTML object.
>
> Personally I think that making the TEXT object consistent with other
> cObjects is a good idea. The HTML object was deprecated not because of
> its behavior but because it was redundant.
True, but I guess Benni objected because we would have had to deprecate
TEXT instead.
I thought about it for a while and although I found it handy the current
way, my wish to have better code base and "logic" would opt to agree to
the deprecation strategy.
Cheers
--
Xavier Perseguers
TYPO3 CMS Team Member
TYPO3 .... inspiring people to share!
Get involved: http://typo3.org
More information about the TYPO3-team-core
mailing list