From 1b4376137a68c9b644baa56936c5844ed9295a6c Mon Sep 17 00:00:00 2001 From: "luca.frosini" Date: Mon, 21 Nov 2016 08:54:56 +0000 Subject: [PATCH] Fixed bug while updating properties of facet git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134406 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../resourceregistry/resources/impl/EntityManagementImpl.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/org/gcube/informationsystem/resourceregistry/resources/impl/EntityManagementImpl.java b/src/main/java/org/gcube/informationsystem/resourceregistry/resources/impl/EntityManagementImpl.java index 791cce2..6cb08c2 100644 --- a/src/main/java/org/gcube/informationsystem/resourceregistry/resources/impl/EntityManagementImpl.java +++ b/src/main/java/org/gcube/informationsystem/resourceregistry/resources/impl/EntityManagementImpl.java @@ -756,6 +756,9 @@ public class EntityManagementImpl implements EntityManagement { if (key.startsWith("_")) { continue; } + if (key.compareTo(Facet.HEADER_PROPERTY) == 0) { + continue; + } facet.removeProperty(key); }