changeset 302:f526f02e8ce2

Bugfix: States are filled with data before they describe themself. flys-artifacts/trunk@1664 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 12 Apr 2011 07:49:36 +0000
parents 1a00cb4998a8
children 2d393c8bd38c
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Mon Apr 11 12:54:03 2011 +0000
+++ b/flys-artifacts/ChangeLog	Tue Apr 12 07:49:36 2011 +0000
@@ -1,3 +1,8 @@
+2011-04-12  Ingo Weinzierl <ingo@intevation.de>
+
+	* src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java: Bugfix:
+	  States are filled with data before they describe themself.
+
 2011-04-11  Ingo Weinzierl <ingo@intevation.de>
 
 	* src/main/java/de/intevation/flys/artifacts/model/AnnotationsFactory.java:
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java	Mon Apr 11 12:54:03 2011 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java	Tue Apr 12 07:49:36 2011 +0000
@@ -192,6 +192,8 @@
         for (String stateId: stateIds) {
             logger.debug("Append static data for state: " + stateId);
             DefaultState state = (DefaultState) engine.getState(stateId);
+            state = (DefaultState) fillState(state);
+
             ui.appendChild(state.describeStatic(doc, ui, context, uuid));
         }
 

http://dive4elements.wald.intevation.org