minor fix when custom fields are created

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@131361 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Costantino Perciante 2016-09-14 15:44:58 +00:00
parent c393e798b2
commit 095bbe77d7
1 changed files with 6 additions and 5 deletions

View File

@ -739,6 +739,7 @@ public class CreateDatasetForm extends Composite{
String key = customEntry.getKey();
String value = customEntry.getValue();
if(value != null && !value.isEmpty())
customFieldsMap.put(key, value);
}