[TYPO3-core] RFC #8542: Cannot create page with Mysl in strict mode (STRICT_TRANS_TABLES)

Ernesto Baschny [cron IT] ernst at cron-it.de
Fri May 30 10:06:35 CEST 2008


Dmitry Dulepov [typo3] wrote: on 30.05.2008 08:19:

>> You're wrong when you saye that the value is not provided by the user. 
>> It is, because he does so, when he clicks on the save button of TCE 
>> forms. He only chose to save an "empty" value for the storage pid.
> 
> Ok, let's say, "empty value specified by user". Why do you change empty 
> value to 0 then? ;) User did not insert anything, so you should not 
> insert anything too!

What if we had pid "150" stored in the database and the user wants to 
empty that? Emptying the list won't ever get the "0" (or "null") value 
to the database if we don't do an UPDATE. And if we do an UPDATE, we 
have to send an "0", as Masi pointed out, not "".

Cheers,
Ernesto


More information about the TYPO3-team-core mailing list