Issue Bug Closed

#15782multiplyDBfieldSize and datetime

Joerg Schoppet 03/08/06, 09:27 updated 08/12/06, 14:16

Description

If $TYPO3_CONF_VARS[‘SYS’][‘multiplyDBfieldSize’] is set to a value greater than 1 and you want to install “th_mailformplus” you get the following error-message:

SQL engine parse ERROR: Field type unknown in parseFieldDef()!: near “datetime default ’0000-00-00 00:00:00’ “

As soon as you lower multiplyDBfieldSize to 1 everything works.

After my opinion the problem lies in class.t3lib_sqlparser.php in the function parseFieldDef(). There is a regex with a lot of db-datatypes, but datetime is missing.

As soon as “datetime” is added everything work fine.
(issue imported from #M2793)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.