[TYPO3-core] RFC: a hook in TCEforms to complement hook in TCEmain

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Thu Aug 30 14:22:37 CEST 2007


Dmitry Dulepov [typo3] schrieb:
> Hi!
> 
> This is SVN patch request.
> 
> Branches: trunk *and* 4.1
> 
> Problem: currently TCEmain has a hook for evaluating values. This way 
> you can transform 123 to 456 on saving. But there is no opposite hook in 
> TCEforms, so you cannot translate 456 back to 123 in TCEforms. Currently 
> it means that punycode domains can be encoded using hook but decoding 
> must XCLASS tceform, which is bad.

You point out what I think is one major flaw in the concept. It mixes up 
validations and transformations.

Masi


More information about the TYPO3-team-core mailing list