diff --git a/VERSION b/VERSION index d988d01..587f948 100644 --- a/VERSION +++ b/VERSION @@ -1,6 +1,6 @@ ## deployable containers have a semantic and build tag # semantic version tag: major.minor # build version tag: timestamp -VERSION="1.1.6" +VERSION="1.1.7" TAGS="${VERSION} ${VERSION}-$(date -u +"%Y%m%dT%H%M%S")" unset VERSION diff --git a/src/main/java/net/canfar/storage/web/resources/MainPageServerResource.java b/src/main/java/net/canfar/storage/web/resources/MainPageServerResource.java index f6e878b..b7241c8 100644 --- a/src/main/java/net/canfar/storage/web/resources/MainPageServerResource.java +++ b/src/main/java/net/canfar/storage/web/resources/MainPageServerResource.java @@ -157,12 +157,12 @@ public String next() { final Writer writer = new StringWriter(); final StorageItemWriter storageItemWriter = new StorageItemCSVWriter(writer); final Node nextChild = childNodeIterator.next(); + PathUtils.augmentParents(Paths.get(parentPath.toString(), nextChild.getName()), nextChild); try { // Check the translated storage item's URI first to handle an exception. final StorageItem storageItem = storageItemFactory.translate(nextChild); - PathUtils.augmentParents(Paths.get(parentPath.toString(), nextChild.getName()), nextChild); storageItemWriter.write(storageItem); } catch (URISyntaxException uriSyntaxException) { LOGGER.error("Cannot create a URI from node {}. Skipping...",