fix for connected fields

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/grsf-publisher-ws@162751 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Costantino Perciante 2018-01-30 14:46:18 +00:00
parent c3738ffddd
commit 726c05cd00
1 changed files with 1 additions and 1 deletions

View File

@ -283,7 +283,7 @@ public class CommonServiceUtils {
}
if(source.equals(Sources.GRSF) && keyField.equals(Constants.CONNECTED_JSON_KEY)){
if(source.equals(Sources.GRSF) && keyField.equals(Constants.CONNECTED_CUSTOM_KEY)){
List asList = (List)f;
if(asList == null || asList.isEmpty()){
extras.put(keyField, Arrays.asList(Constants.NO_CONNECTED_RECORDS));