Fixes files in piante

This commit is contained in:
Fabio Sinibaldi 2022-05-27 14:26:36 +02:00
parent 1036446bfd
commit 1a0c26b44f
3 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
# Changelog for org.gcube.application.geoportal-client # Changelog for org.gcube.application.geoportal-client
## [v1.0.7] - 2022-05-25 ## [v1.0.7-SNAPSHOT] - 2022-05-25
- Clone Concessione - Clone Concessione
## [v1.0.6] - 2021-09-20 ## [v1.0.6] - 2021-09-20

View File

@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.gcube.application</groupId> <groupId>org.gcube.application</groupId>
<artifactId>geoportal-client</artifactId> <artifactId>geoportal-client</artifactId>
<version>1.0.7</version> <version>1.0.7-SNAPSHOT</version>
<name>Geoportal Client</name> <name>Geoportal Client</name>

View File

@ -82,7 +82,7 @@ public class ConcessioniUtils {
copied.getPianteFineScavo().add(clean(src.getPianteFineScavo().get(i))); copied.getPianteFineScavo().add(clean(src.getPianteFineScavo().get(i)));
copied=client.replace(copied); copied=client.replace(copied);
req=asCopyRequest(src.getPianteFineScavo().get(i),storage); req=asCopyRequest(src.getPianteFineScavo().get(i),storage);
req.setDestinationPath(Concessione.Paths.imgByIndex(i)); req.setDestinationPath(Concessione.Paths.piantaByIndex(i));
if(req.getStreams()!=null&&!req.getStreams().isEmpty()) if(req.getStreams()!=null&&!req.getStreams().isEmpty())
copied=client.registerFileSet(copied.getMongo_id(),req); copied=client.registerFileSet(copied.getMongo_id(),req);
} }