diff flys-client/ChangeLog @ 841:e699adf3b092

Fix loading of recommendations when collection is not yet in place. flys-client/trunk@2561 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 24 Aug 2011 13:21:15 +0000
parents 18fc7afe0251
children 95fd96b3a19f
line wrap: on
line diff
--- a/flys-client/ChangeLog	Wed Aug 24 13:17:22 2011 +0000
+++ b/flys-client/ChangeLog	Wed Aug 24 13:21:15 2011 +0000
@@ -1,3 +1,13 @@
+2011-08-24	Felix Wolfsteller	<felix.wolfsteller@intevation.de> 
+
+	Fix loading of recommendations when collection is not yet in place.
+
+	* src/main/java/de/intevation/flys/client/client/ui/CollectionView.java
+	  (createNewCollection):
+	  Load recommendations when new Collection is created.
+	  (onParameterChange):
+	  Guard call to loadRecommendation to avoid NPE when no collection is yet set.
+
 2011-08-24	Felix Wolfsteller	<felix.wolfsteller@intevation.de> 
 
 	* src/main/java/de/intevation/flys/client/shared/model/DefaultCollection.java:

http://dive4elements.wald.intevation.org