changeset 212:d7042094f7b7

Bugfix: Repaired a broken XPath. artifacts/trunk@1548 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 23 Mar 2011 12:08:21 +0000
parents 435631e07da2
children 199f0e553e3a
files ChangeLog artifacts-common/src/main/java/de/intevation/artifacts/common/utils/ClientProtocolUtils.java
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Mar 23 10:47:48 2011 +0000
+++ b/ChangeLog	Wed Mar 23 12:08:21 2011 +0000
@@ -1,3 +1,8 @@
+2011-03-23  Ingo Weinzierl <ingo@intevation.de>
+
+	* artifacts-common/src/main/java/de/intevation/artifacts/common/utils/ClientProtocolUtils.java:
+	  Bugfix: Repaired a broken XPath.
+
 2011-03-23  Ingo Weinzierl <ingo@intevation.de>
 
 	* artifact-database/src/main/java/de/intevation/artifactdatabase/ProtocolUtils.java:
--- a/artifacts-common/src/main/java/de/intevation/artifacts/common/utils/ClientProtocolUtils.java	Wed Mar 23 10:47:48 2011 +0000
+++ b/artifacts-common/src/main/java/de/intevation/artifacts/common/utils/ClientProtocolUtils.java	Wed Mar 23 12:08:21 2011 +0000
@@ -210,13 +210,13 @@
 
         Element action     = cr.create("action");
         Element type       = cr.create("type");
-        Element collection = cr.create("artifact-collection");
+        Element collection = cr.create("collection");
 
         cr.addAttr(type, "name", "create");
         cr.addAttr(collection, "name", name != null ? name : "");
 
         action.appendChild(type);
-        action.appendChild(collection);
+        type.appendChild(collection);
 
         doc.appendChild(action);
 

http://dive4elements.wald.intevation.org