Project

General

Profile

Actions

Bug #66929

closed

Cannot parse default date

Added by Xavier Perseguers over 9 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Category:
Database API (Doctrine DBAL)
Target version:
Start date:
2015-05-13
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
hard
Is Regression:
No
Sprint Focus:

Description

#1310027793: ERROR: Query could not be parsed: "SQL engine parse ERROR: Field type unknown in parseFieldDef()!: near "date default '0000-00-00' "". Query: "ALTER TABLE fe_users ADD birthday date default '0000-00-00';"

When installing an extension having ext_tables.sql:

#
# Table structure for table 'fe_users'
#
CREATE TABLE fe_users (
    birthday date DEFAULT '0000-00-00',
    subscribed_courses int(11) unsigned DEFAULT '0' NOT NULL,
    tx_extbase_type varchar(255) DEFAULT '' NOT NULL,
);

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #38974: Add support for native date/time fieldsClosed2012-07-16

Actions
Actions #1

Updated by Mathias Schreiber over 9 years ago

  • Complexity set to hard
Actions #2

Updated by Mathias Schreiber over 9 years ago

  • Status changed from New to Accepted
  • Assignee set to Mathias Schreiber
Actions #3

Updated by Benni Mack over 9 years ago

  • Target version changed from 7.3 (Packages) to 7.4 (Backend)
Actions #4

Updated by Morton Jonuschat over 9 years ago

  • Category changed from Database API (Doctrine DBAL) to 999
  • Assignee changed from Mathias Schreiber to Morton Jonuschat
  • Target version changed from 7.4 (Backend) to 7.5
Actions #5

Updated by Gerrit Code Review over 9 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42379

Actions #6

Updated by Gerrit Code Review over 9 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42379

Actions #7

Updated by Morton Jonuschat over 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #8

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF