changeset 1835:35e38e2afb22

Re-enabled mainvalue-recommendation for computed discharge curves. flys-artifacts/trunk@3171 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Fri, 04 Nov 2011 13:29:15 +0000
parents 9eedda250280
children 729ba79e94a0
files flys-artifacts/ChangeLog flys-artifacts/doc/conf/meta-data.xml
diffstat 2 files changed, 18 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Fri Nov 04 13:23:39 2011 +0000
+++ b/flys-artifacts/ChangeLog	Fri Nov 04 13:29:15 2011 +0000
@@ -1,3 +1,18 @@
+2011-11-04  Felix Wolfsteller <felix.wolfsteller@intevation.de>
+
+	Re-enable mainvalue-recommendations for computed discharge curves,
+	as the NPE should be gone.
+
+	* doc/conf/meta-data.xml: Uncomment mainvalue recommendations.
+
+2011-11-04  Felix Wolfsteller <felix.wolfsteller@intevation.de>
+
+	When querying metadata/datacage, use only output-names of outputs that
+	actually exists (in the sense of having facets).
+
+	* src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java:
+	  Get output names from artifact, not from state.
+
 2011-11-04  Ingo Weinzierl <ingo@intevation.de>
 
 	* doc/conf/meta-data.xml: Removed DEMs from floodmap configuration,
@@ -20,14 +35,6 @@
 
 2011-11-04  Felix Wolfsteller <felix.wolfsteller@intevation.de>
 
-	When querying metadata/datacage, use only output-names of outputs that
-	actually exists (in the sense of having facets).
-
-	* src/main/java/de/intevation/flys/artifacts/CollectionMonitor.java:
-	  Get output names from artifact, not from state.
-
-2011-11-04  Felix Wolfsteller <felix.wolfsteller@intevation.de>
-
 	For a Flys-Collection, add outputt to attributes-part of describe
 	document only if they contain facets.  -> Prevent empty output nodes
 	in flys-collections outputs.
--- a/flys-artifacts/doc/conf/meta-data.xml	Fri Nov 04 13:23:39 2011 +0000
+++ b/flys-artifacts/doc/conf/meta-data.xml	Fri Nov 04 13:29:15 2011 +0000
@@ -428,10 +428,10 @@
           </dc:if>
           <dc:if test="dc:contains($artifact-outs, 'computed_discharge_curve')">
               <computed-discharge-curve>
-                <!--mainvalue>
+                <mainvalue>
                   <dc:attribute name="factory" value="mainvalue"/>
-                  <dc:attribute name="db-ids"  value="${river_id}"/>
-                </mainvalue-->
+                  <dc:attribute name="ids"  value="${river_id}"/>
+                </mainvalue>
               </computed-discharge-curve>
           </dc:if>
           <dc:if test="dc:contains($artifact-outs, 'longitudinal_section')">

http://dive4elements.wald.intevation.org