Project

General

Profile

Actions

Bug #105666

closed

Nullable native time fields store "00:00:00" instead of null if value is unset

Added by Benjamin Franzke 7 months ago. Updated 6 months ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
DataHandler aka TCEmain
Start date:
2024-11-21
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
13
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Native datetime fields are autogenerated as NULLable since #97367 – but nullable behaviour is broken and not considered to be default-on by DataHandler and FormEngine.

Expected Behavior:

User enters "00:00:00"
Stores "00:00:00"

User enters ""
Stores null

Actual Behavior:

User enters "00:00:00"
Stores "00:00:00"

User enters ""
Stores "00:00:00"


Related issues 7 (0 open7 closed)

Related to TYPO3 Core - Bug #105777: Remove useless nullable checkbox from datetime elementsResolved2024-12-06

Actions
Related to TYPO3 Core - Bug #102602: Time input does not initialize 00:00 properlyClosed2023-12-04

Actions
Related to TYPO3 Core - Feature #97367: Auto creation of database fields for TCA "datetime"ClosedOliver Bartsch2022-04-12

Actions
Related to TYPO3 Core - Bug #97216: Time value "midnight" (00:00) is not acceptedClosed2022-03-21

Actions
Related to TYPO3 Core - Bug #92900: Unable to store "epoch start" on native datetime fields with dbtypeClosed2020-11-21

Actions
Related to TYPO3 Core - Bug #105817: The fix for #105666 (streamline null and midnight for dbType datetime) was breaking in some cases, and also ignores the TCA default value for datetimeResolved2024-12-12

Actions
Related to TYPO3 Core - Bug #106401: Nullable integer based time fields store consider 0 as empty valueResolvedBenjamin Franzke2025-03-20

Actions
Actions #1

Updated by Gerrit Code Review 7 months ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/87144

Actions #2

Updated by Gerrit Code Review 7 months ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/87144

Actions #3

Updated by Gerrit Code Review 7 months ago

Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/87144

Actions #4

Updated by Gerrit Code Review 7 months ago

Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/87144

Actions #5

Updated by Gerrit Code Review 7 months ago

Patch set 5 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/87144

Actions #6

Updated by Gerrit Code Review 7 months ago

Patch set 6 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/87144

Actions #7

Updated by Gerrit Code Review 7 months ago

Patch set 1 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/87279

Actions #8

Updated by Gerrit Code Review 7 months ago

Patch set 2 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/87279

Actions #9

Updated by Gerrit Code Review 7 months ago

Patch set 3 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/87279

Actions #10

Updated by Gerrit Code Review 7 months ago

Patch set 7 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/87144

Actions #11

Updated by Gerrit Code Review 6 months ago

Patch set 8 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/87144

Actions #12

Updated by Gerrit Code Review 6 months ago

Patch set 4 for branch 12.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/87279

Actions #13

Updated by Gerrit Code Review 6 months ago

Patch set 1 for branch 13.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/87388

Actions #14

Updated by Benjamin Franzke 6 months ago

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

Updated by Benjamin Franzke 6 months ago

  • Related to Bug #105777: Remove useless nullable checkbox from datetime elements added
Actions #16

Updated by Garvin Hicking 6 months ago

  • Related to Bug #102602: Time input does not initialize 00:00 properly added
Actions #17

Updated by Garvin Hicking 6 months ago

  • Related to Feature #97367: Auto creation of database fields for TCA "datetime" added
Actions #18

Updated by Garvin Hicking 6 months ago

  • Related to Bug #97216: Time value "midnight" (00:00) is not accepted added
Actions #19

Updated by Garvin Hicking 6 months ago

  • Related to Bug #92900: Unable to store "epoch start" on native datetime fields with dbtype added
Actions #20

Updated by S P 6 months ago

  • Related to Bug #105817: The fix for #105666 (streamline null and midnight for dbType datetime) was breaking in some cases, and also ignores the TCA default value for datetime added
Actions #21

Updated by Benjamin Franzke 3 months ago

  • Related to Bug #106401: Nullable integer based time fields store consider 0 as empty value added
Actions

Also available in: Atom PDF