diff gnv-artifacts/ChangeLog @ 1109:2b4d197a538c

Fixed the time range validation - introduced an epsilon of one second for valid time ranges (issue286). gnv-artifacts/trunk@1240 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 29 Jun 2010 09:07:26 +0000
parents 337727011de0
children c6b2437c0c13
line wrap: on
line diff
--- a/gnv-artifacts/ChangeLog	Tue Jun 29 08:47:46 2010 +0000
+++ b/gnv-artifacts/ChangeLog	Tue Jun 29 09:07:26 2010 +0000
@@ -1,3 +1,15 @@
+2010-06-29  Ingo Weinzierl <ingo.weinzierl@intevation.de>
+
+	  Issue286
+
+	* src/main/java/de/intevation/gnv/utils/InputValidator.java: Added a buffer
+	  of 1 second for the valid time range. The valid values that are returnd
+	  from database differ in milliseconds. Example: the lower time returned
+	  from database is 00:00:00.650, the gui will display 00:00:00. This caused
+	  an error because the data given by the user was 650 ms under the lower
+	  bound. With a 1 second range, the lower bound is moved to 23:59:59.650, so
+	  that the time given by the user is in the valid range.
+
 2010-06-29  Tim Englich  <tim.englich@intevation.de>
 
 	  Issue318

http://dive4elements.wald.intevation.org