[TYPO3-core] Moving of elements (records) and pages in workspace

Dmitry Dulepov 9f4eetb02 at sneakemail.com
Mon May 14 09:49:35 CEST 2007


Martin Kutschker wrote:
> Aren't you supposed to use TCEmain for any data manipulation?

If you add extra field to t3ver_ family, all extensions have to have it 
in their tables too. Imagine what happens if all version fields are 
there, except one. You'll get errors. Same for new filed if it is not there.

Also you cannot always use TCEmain. For example, you cannot undelete 
versioned page with tcemain because it requires changing of t3ver_* 
fields and tcemain does not allow this.

> Given the complexity of versioning and WS's plain old INSERTs should be 
> forbidden for any table that uses versioning.

True but life is a complex thing... Sometimes it forces to break rules.

Dmitry Dulepov

Web: http://typo3bloke.net/
Skype: callto:liels_bugs

"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)

More information about the TYPO3-team-core mailing list