added fix for vocabulary field without terms
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/catalogue-ws@149349 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
025c13a8ca
commit
dee8a06874
|
@ -785,6 +785,9 @@ public class CatalogueUtils {
|
|||
if(hasControlledVocabulary){
|
||||
|
||||
List<String> valuesVocabulary = metadataField.getVocabulary().getVocabularyFields();
|
||||
|
||||
if(valuesVocabulary == null || valuesVocabulary.isEmpty())
|
||||
return;
|
||||
|
||||
boolean match = false;
|
||||
for (String valueVocabulary : valuesVocabulary) {
|
||||
|
|
Reference in New Issue