Bug #26674

Regression bug in tceforms.js

Added by Patrick Schriner about 10 years ago. Updated over 2 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

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

Actions
#1

Updated by Mr. Hudson about 10 years ago

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

#2

Updated by Mr. Hudson about 10 years ago

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

#3

Updated by Chris topher about 10 years ago

  • Status changed from New to Under Review
#4

Updated by Mr. Hudson about 10 years ago

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

#5

Updated by Mr. Hudson about 10 years ago

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

#6

Updated by Steffen Gebert about 10 years ago

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

#7

Updated by Patrick Schriner about 10 years ago

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

Updated by Benni Mack over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF