comparison ChangeLog @ 268:4edaf3073109

Repaired the setting of a new attribute for a Collection. artifacts/trunk@2016 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 27 May 2011 08:47:31 +0000
parents 72de5c373c9b
children d9a99b28a847
comparison
equal deleted inserted replaced
267:72de5c373c9b 268:4edaf3073109
1 2011-05-27 Ingo Weinzierl <ingo@intevation.de>
2
3 * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java:
4 The setCollectionAttribute() method will now set the incoming document
5 as new attribute for the collection. Before, we looked for a xpath
6 expression that contained the attribute. In the current implementation,
7 the incoming document IS the attribute.
8
9 * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/CollectionResource.java:
10 Extract the new attribute for a collection and call the
11 setCollectionAttribute() method of ArtifactDatabase with this document
12 instead of calling it with the incoming request document.
13
1 2011-05-27 Ingo Weinzierl <ingo@intevation.de> 14 2011-05-27 Ingo Weinzierl <ingo@intevation.de>
2 15
3 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/ClientProtocolUtils.java: 16 * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/ClientProtocolUtils.java:
4 New method that creates the document that is used to set an attribute of 17 New method that creates the document that is used to set an attribute of
5 a collection. 18 a collection.

http://dive4elements.wald.intevation.org