diff --git a/src/main/java/org/gcube/gcat/persistence/ckan/CKANResource.java b/src/main/java/org/gcube/gcat/persistence/ckan/CKANResource.java index 2fe1a42..3841cf8 100644 --- a/src/main/java/org/gcube/gcat/persistence/ckan/CKANResource.java +++ b/src/main/java/org/gcube/gcat/persistence/ckan/CKANResource.java @@ -516,8 +516,8 @@ public class CKANResource extends CKAN { getPreviousRepresentation(); URL url = new URL(previousRepresentation.get(URL_KEY).asText()); mimeType = previousRepresentation.get(MIME_TYPE_KEY).asText(); - deleteStorageResource(url, resourceID, mimeType); - // STILL TO BE TESTED deleteStorageResource(url); + //deleteStorageResource(url, resourceID, mimeType); + deleteStorageResource(url); } catch(Exception e) { logger.error("Unable to delete resource {}", previousRepresentation != null ? getAsString(previousRepresentation) : "");