Project

General

Profile

Actions

Bug #26674

closed

Regression bug in tceforms.js

Added by Patrick Schriner almost 13 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2011-05-06
Due date:
% Done:

100%

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

Description

https://review.typo3.org/#change,1248

implemented a special check for datetime field.

Unfortunately on new values, parsing into oldValue

Line 47: var oldValue = Date.parseDate(element.dom.value, format[index]);

will cause oldValue to have the value undefined.

Adding a check for undefined seems reasonable.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #33629: datepicker with datetime field does not set current time as defaultClosedErnesto Baschny2012-02-02

Actions
Actions #1

Updated by Mr. Hudson almost 13 years ago

Patch set 2 of change Ib435031d0aad56940618c0426cc400965786d891 has been pushed to the review server.
It is available at http://review.typo3.org/1942

Actions #2

Updated by Mr. Hudson almost 13 years ago

Patch set 3 of change Ib435031d0aad56940618c0426cc400965786d891 has been pushed to the review server.
It is available at http://review.typo3.org/1942

Actions #3

Updated by Chris topher almost 13 years ago

  • Status changed from New to Under Review
Actions #4

Updated by Mr. Hudson almost 13 years ago

Patch set 4 of change Ib435031d0aad56940618c0426cc400965786d891 has been pushed to the review server.
It is available at http://review.typo3.org/1942

Actions #5

Updated by Mr. Hudson almost 13 years ago

Patch set 5 of change Ib435031d0aad56940618c0426cc400965786d891 has been pushed to the review server.
It is available at http://review.typo3.org/1942

Actions #6

Updated by Steffen Gebert almost 13 years ago

This bug doesn't occur with master (4.6) as the code is different. So fix only for 4.5

Actions #7

Updated by Patrick Schriner almost 13 years ago

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

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF