[TYPO3-dev] tt_content pid -1

Oliver Hader oliver at typo3.org
Thu May 20 10:43:32 CEST 2010


Hi Ernesto,

Am 14.05.10 11:05, schrieb Ernesto Baschny [cron IT]:
> Hi,
> 
> as soon as you create a record in "Draft" workspace, it will create two
> separate tt_content records (the same applies to pages and other records).
> 
> 1) the "initial placeholder" which represents the record in the
> live-workspace, and which has a "pid" = the page where it was created
> 2) the draft record, which is linked with the initial placeholder
> (t3ver_oid), but has pid = -1.
> 
> If you modify an existing record in a "Draft" workspace, it will create
> a new version of it which looks like the number 2 above.
> 
> So it might have happend by accident (editing in draft mode). If you
> delete them, you will have cleaned that up.
> 
> Also check if there aren't any tt_content records with
> t3ver_label='INITIAL PLACEHOLDER', which you can get rid also.

Thanks for the detailed explanation on the workspaces internals. The
"which you can get rid of also" could be something for a general
lowlever cleaner (dbint) or "caretaker" as well...

olly
-- 
Oliver Hader
TYPO3 v4 Core Team Leader




More information about the TYPO3-dev mailing list