Actions
Bug #15782
closedmultiplyDBfieldSize and datetime
Status:
Closed
Priority:
Should have
Assignee:
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2006-03-08
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.0
PHP Version:
5
Tags:
Complexity:
Is Regression:
Sprint Focus:
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)
Files
Actions