[TYPO3-dev] DBAL problems with pages.fe_group

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Tue Jun 27 15:42:44 CEST 2006


Martin Kutschker schrieb:
> 
> So what is best option?
> 
> a) Simply to remove the NOT NULL and the then useless DEFAULT '0'?
> b) Adding TCA options that enforce the SQL default in situations like this?
> c) Add DB triggers that turn '' into '0' for such fields?
> 
> I'm for a) If the field is a list then '' is an empty list not '0'. But 
> is the Core ready for this?

No, it isn't. See bug #2866.

Without changing the Core it must be c) then.

Masi




More information about the TYPO3-dev mailing list