Mercurial > dive4elements > framework
diff 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 |
line wrap: on
line diff
--- a/ChangeLog Fri May 27 08:11:34 2011 +0000 +++ b/ChangeLog Fri May 27 08:47:31 2011 +0000 @@ -1,3 +1,16 @@ +2011-05-27 Ingo Weinzierl <ingo@intevation.de> + + * artifact-database/src/main/java/de/intevation/artifactdatabase/ArtifactDatabaseImpl.java: + The setCollectionAttribute() method will now set the incoming document + as new attribute for the collection. Before, we looked for a xpath + expression that contained the attribute. In the current implementation, + the incoming document IS the attribute. + + * artifact-database/src/main/java/de/intevation/artifactdatabase/rest/CollectionResource.java: + Extract the new attribute for a collection and call the + setCollectionAttribute() method of ArtifactDatabase with this document + instead of calling it with the incoming request document. + 2011-05-27 Ingo Weinzierl <ingo@intevation.de> * artifacts-common/src/main/java/de/intevation/artifacts/common/utils/ClientProtocolUtils.java: