Mercurial > dive4elements > river
diff flys-client/ChangeLog @ 1490:15b4bc8eede0
#302 Improved input validation in WQ panels.
flys-client/trunk@3576 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 03 Jan 2012 13:27:14 +0000 |
parents | 03649eb8933a |
children | 2a00f4849738 |
line wrap: on
line diff
--- a/flys-client/ChangeLog Tue Jan 03 09:47:36 2012 +0000 +++ b/flys-client/ChangeLog Tue Jan 03 13:27:14 2012 +0000 @@ -1,3 +1,22 @@ +2012-01-02 Ingo Weinzierl <ingo@intevation.de> + + flys/issue302 (Uncaught exception wenn bei Wasserspiegellage-Berechnung kein W/Q angegeben wird) + + * src/main/java/de/intevation/flys/client/client/ui/DoubleRangePanel.java: + Catch a NumberFormatException in validateForm() and return in such cases + false for an invalid DoubleRangePanel. + + * src/main/java/de/intevation/flys/client/client/ui/WQInputPanel.java: Catch + NullPointerExceptions when fetching from, to and step values from + DoubleRangePanel. Use DoubleRangePanel.validateForm() (with no parameters) + to validate the DoubleRangePanel correctly. + + * src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties, + src/main/java/de/intevation/flys/client/client/FLYSConstants.java, + src/main/java/de/intevation/flys/client/client/FLYSConstants.properties, + src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: + Added errors/warnings. + 2012-01-02 Felix Wolfsteller <felix.wolfsteller@intevation.de> Added and fixed translations of theme style properties.