[TYPO3-core] RFC #8542: Cannot create page with Mysl in strict mode (STRICT_TRANS_TABLES)
Martin Kutschker
martin.kutschker-n0spam at no5pam-blackbox.net
Fri May 30 10:41:53 CEST 2008
Dmitry Dulepov [typo3] schrieb:
> Martin Kutschker wrote:
>> But then we MUST send 0 as "empty" value in such case. I don't believe
>> that unsetting the value and reyling is a porper and clean solution.
>> Anyway, the DB will send TYPO3 back a 0 the next time, so 0 IS the
>> correct value (if you want an INT).
>
> Default values in the database exist specially for such cases.
You still do not see the main point. I am not talking about an INSERT
with not all coulmuns, but about an INSERT with this special field
inclused. It's in the form, so it must be sent. To me this is much mor
clean than to unset empty form fields. You don't unset values for empty
text fields, do you? So I don't geut it why you insist on DB defaults
for this case. IMHO they are simply not applicable in this situation.
Masi
More information about the TYPO3-team-core
mailing list