Mercurial > dive4elements > framework
diff artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultCollectionItem.java @ 236:6ef6acf30d66
Bugfix: Decompress CollectionItems when they are fetched from Backend.
artifacts/trunk@1646 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 06 Apr 2011 08:40:24 +0000 |
parents | 946e2245a6c0 |
children |
line wrap: on
line diff
--- a/artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultCollectionItem.java Mon Apr 04 09:28:54 2011 +0000 +++ b/artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultCollectionItem.java Wed Apr 06 08:40:24 2011 +0000 @@ -37,7 +37,7 @@ public synchronized Document getAttribute() { if (document == null) { if (data != null) { - document = XMLUtils.fromByteArray(data); + document = XMLUtils.fromByteArray(data, true); } } return document;