[TYPO3-core] RFC: Fix FE user login for DBAL

Martin Kutschker martin.kutschker-n0spam at no5pam-blackbox.net
Tue Jun 27 22:43:59 CEST 2006


Karsten Dambekalns schrieb:
> Hi.
> 
> Type: Bugfix
> Branches: HEAD, TYPO3_4-0
> 
> If a database matches null only with IS NULL,

Well, makes sense, doesn't it. '' is not null (and vice versa), that's a 
fact ;-)

> such as Oracle, FE user logins 
> are not possible currently. The attached patch fixes this.

Hm, +1 for TYPO3_4-0 as it is a fix.

For HEAD we should resolve the issue whether the column may be null at all.

I've seen in in your other patch something to the effect of "let's not 
use NOT NULL at all". Cannot say I like it. NOT NULL makes sense. In 
fact NULL values should IMHO be avoided in the DB.

Especially because they are mapped ill in the PHP DB-APIs. A DB NULL 
should be a PHP NULL, not an empty string.

Masi



More information about the TYPO3-team-core mailing list