From ce1efcb700a7e9d01b3d595dfc888e557d679475 Mon Sep 17 00:00:00 2001 From: Costantino Perciante Date: Wed, 2 Aug 2017 14:46:12 +0000 Subject: [PATCH] minor fix when checking if a field should become a tag git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@152436 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../client/ui/metadata/MetaDataFieldSkeleton.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/gcube/portlets/widgets/ckandatapublisherwidget/client/ui/metadata/MetaDataFieldSkeleton.java b/src/main/java/org/gcube/portlets/widgets/ckandatapublisherwidget/client/ui/metadata/MetaDataFieldSkeleton.java index d73e28d..f25c20c 100644 --- a/src/main/java/org/gcube/portlets/widgets/ckandatapublisherwidget/client/ui/metadata/MetaDataFieldSkeleton.java +++ b/src/main/java/org/gcube/portlets/widgets/ckandatapublisherwidget/client/ui/metadata/MetaDataFieldSkeleton.java @@ -744,7 +744,7 @@ public class MetaDataFieldSkeleton extends Composite{ FieldAsTag asTag = field.getAsTag(); List generatedTags = new ArrayList(); - if(asTag != null){ + if(asTag != null && asTag.isCreate()){ List values = getFieldCurrentValue(); for (String value : values) { generatedTags.add(TaggingGroupingValue.getComposedValueTag(field.getFieldName(), value, asTag.getSeparator(), asTag.getTaggingValue()));