[PATCH] Fixed: using description attribute (same as name) everywhere to avoid gwt error message

Wald Commits scm-commit at wald.intevation.org
Fri Jul 20 14:58:38 CEST 2018


# HG changeset patch
# User gernotbelger
# Date 1532091514 -7200
# Node ID 7efb27005d0dc654bd1f70c3f11365b3ae6061f1
# Parent  72b6388c252a1e3827a8355f8d934f5bb38dea06
Fixed: using description attribute (same as name) everywhere to avoid gwt error message.

diff -r 72b6388c252a -r 7efb27005d0d artifacts/doc/conf/meta-data.xml
--- a/artifacts/doc/conf/meta-data.xml	Fri Jul 20 14:57:59 2018 +0200
+++ b/artifacts/doc/conf/meta-data.xml	Fri Jul 20 14:58:34 2018 +0200
@@ -1454,7 +1454,7 @@
         <dc:if test="dc:has-result()">
           <heightmarks>
             <dc:group expr="dc:replace($wst_description, 'HW-Marken/', '')">
-              <heightmark name="{dc:group-key()}">
+              <heightmark name="{dc:group-key()}" description="{dc:group-key()}">
                 <dc:for-each>
                   <dc:macro-body />
                 </dc:for-each>
@@ -1489,7 +1489,7 @@
         <dc:if test="dc:has-result()">
           <flood_protections>
             <dc:group expr="dc:replace($wst_description, 'HW-Schutzanlagen/', '')">
-              <flood_protection name="{dc:group-key()}">
+              <flood_protection name="{dc:group-key()}" description="{dc:group-key()}">
                 <dc:for-each>
                   <dc:macro-body />
                 </dc:for-each>
@@ -2203,7 +2203,7 @@
         <dc:if test="dc:has-result()">
           <flowvelocitymodel>
             <dc:for-each>
-              <measurement_value name="{$fvmd}" ids="{$fvmid}" factory="flowvelocitymodel" info="{$lowerQ} - {$upperQ}<BR>
+              <measurement_value name="{$fvmd}" description="{$fvmd}" ids="{$fvmid}" factory="flowvelocitymodel" info="{$lowerQ} - {$upperQ}<BR>
                                        Pegel {$gauge}<BR>
                                        Q = {$q} m3/s" target_out="{$out}" />
             </dc:for-each>
@@ -2223,7 +2223,7 @@
         <dc:if test="dc:has-result()">
           <flowvelocitymeasurement>
             <dc:for-each>
-              <flow_velocity_measurement name="{$fvmd}">
+              <flow_velocity_measurement name="{$fvmd}" description="{$fvmd}">
                 <dc:context>
                   <dc:statement>
                     SELECT id, description, station, datetime, v, w, q
@@ -2232,7 +2232,7 @@
                     AND station BETWEEN ${fromkm} AND ${tokm}
                   </dc:statement>
                   <dc:for-each>
-                    <measurement_value name="{$description} - {$station} - {$datetime}" ids="{$id}" factory="flowvelocity" target_out="{$out}" />
+                    <measurement_value name="{$description} - {$station} - {$datetime}" description="{$description} - {$station} - {$datetime}" ids="{$id}" factory="flowvelocity" target_out="{$out}" />
                   </dc:for-each>
                 </dc:context>
               </flow_velocity_measurement>
@@ -2260,7 +2260,7 @@
                   WHERE morphologic_width_id = ${width_id}
                 </dc:statement>
                 <dc:for-each>
-                  <morphologic-width name="{$from_station} - {$to_station}" ids="{$width_id}" factory="morph-width" target_out="{$out}" />
+                  <morphologic-width name="{$from_station} - {$to_station}" description="{$from_station} - {$to_station}" ids="{$width_id}" factory="morph-width" target_out="{$out}" />
                 </dc:for-each>
               </dc:context>
             </dc:for-each>
@@ -3475,7 +3475,7 @@
         </dc:statement>
         <dc:if test="dc:has-result()">
           <dc:for-each>
-            <channelseries name="{$seriesname}" ids="channelx-{$id}-{$seriesname}" factory="channelf" target_out="{$out}" info="{$info}" />
+            <channelseries name="{$seriesname}" description="{$seriesname}" ids="channelx-{$id}-{$seriesname}" factory="channelf" target_out="{$out}" info="{$info}" />
           </dc:for-each>
         </dc:if>
       </dc:context>
@@ -3516,9 +3516,9 @@
         </dc:statement>
         <dc:if test="dc:has-result()">
           <dc:group expr="$tkh_name">
-            <tkhx name="{dc:group-key()}">
+            <tkhx name="{dc:group-key()}" description="{dc:group-key()}">
               <dc:for-each>
-                <tkhcolumn name="{$tkh_col_name}" ids="tkhx-{$tkh_col_id}-{$tkh_id}" factory="tkhxf" target_out="{$out}" info="{$info}" />
+                <tkhcolumn name="{$tkh_col_name}" description="{$tkh_col_name}" ids="tkhx-{$tkh_col_id}-{$tkh_id}" factory="tkhxf" target_out="{$out}" info="{$info}" />
               </dc:for-each>
             </tkhx>
           </dc:group>
@@ -3560,7 +3560,7 @@
           ORDER BY s.id
         </dc:statement>
         <dc:for-each>
-          <depth_evol name="{$depthevol_name}" ids="depthevolx-{$depthevol_id}-{$depthevol_name}" factory="depthevolxf" target_out="{$out}" info="{$info}" />
+          <depth_evol name="{$depthevol_name}" description="{$depthevol_name}" ids="depthevolx-{$depthevol_id}-{$depthevol_name}" factory="depthevolxf" target_out="{$out}" info="{$info}" />
         </dc:for-each>
       </dc:context>
     </dc:macro>
@@ -3591,7 +3591,7 @@
           <dc:group expr="$flowdepth_name">
             <sinfo_predefined_flowdepth>
               <dc:for-each>
-                <flowdepthcolumn name="{$flowdepth_col_name}" ids="flowdepthx-{$flowdepth_col_id}-{$flowdepth_id}" factory="flowdepthxf" target_out="{$out}" info="{$info}" />
+                <flowdepthcolumn name="{$flowdepth_col_name}" description="{$flowdepth_col_name}" ids="flowdepthx-{$flowdepth_col_id}-{$flowdepth_id}" factory="flowdepthxf" target_out="{$out}" info="{$info}" />
               </dc:for-each>
             </sinfo_predefined_flowdepth>
           </dc:group>
@@ -3619,7 +3619,7 @@
         </dc:statement>
         <dc:if test="dc:has-result()">
           <dc:for-each>
-            <infrastructureseries name="{$seriesname}" ids="infrastructurex-{$id}-{$seriesname}" factory="infrastructuref" target_out="{$out}" info="{$info}" />
+            <infrastructureseries name="{$seriesname}" description="{$seriesname}" ids="infrastructurex-{$id}-{$seriesname}" factory="infrastructuref" target_out="{$out}" info="{$info}" />
           </dc:for-each>
         </dc:if>
       </dc:context>
@@ -3642,7 +3642,7 @@
         </dc:statement>
         <dc:if test="dc:has-result()">
           <dc:for-each>
-            <collisionseries name="{$seriesname}" ids="collisionx-{$id}-{$year}-{$seriesname}" factory="collisionf" target_out="{$out}" info="{$info}" />
+            <collisionseries name="{$seriesname}" description="{$seriesname}" ids="collisionx-{$id}-{$year}-{$seriesname}" factory="collisionf" target_out="{$out}" info="{$info}" />
           </dc:for-each>
         </dc:if>
       </dc:context>


More information about the Dive4Elements-commits mailing list