[TYPO3-core] RFC #0015748: BE input validation "time" rejects 0:00 and 24:00
LarsP
typo3 at larsp.de
Fri Sep 24 19:21:02 CEST 2010
Hey all,
this is a SVN patch request.
Type: simple bug
Branches: trunk, 4.4, 4.3
BT reference: http://bugs.typo3.org/view.php?id=15748
Description:
When an input field "type text" is defined as "eval time", the automated
time evaluation function rejects the values "0:00" by setting it to
empty (Problem 1) and rejects "24:00" by resetting the input to "23:00"
(Problem 2).
Solution:
Problem 1: Should be a bigger typo3 task, because typo3 is not able to
differ 0 and Null.
Problem 2: Replace all hours with "24" and bigger with "0". (See
15748_v1.patch)
All the best,
LarsP.
PS: Its my first patch :)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 15748_v1.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100924/9f648826/attachment.txt>
More information about the TYPO3-team-core
mailing list