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
This commit is contained in:
parent
17285fe73e
commit
ce1efcb700
|
@ -744,7 +744,7 @@ public class MetaDataFieldSkeleton extends Composite{
|
|||
|
||||
FieldAsTag asTag = field.getAsTag();
|
||||
List<String> generatedTags = new ArrayList<String>();
|
||||
if(asTag != null){
|
||||
if(asTag != null && asTag.isCreate()){
|
||||
List<String> values = getFieldCurrentValue();
|
||||
for (String value : values) {
|
||||
generatedTags.add(TaggingGroupingValue.getComposedValueTag(field.getFieldName(), value, asTag.getSeparator(), asTag.getTaggingValue()));
|
||||
|
|
Loading…
Reference in New Issue