minor fix on group retrieval
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@139991 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
031896c371
commit
d84bc04eb2
|
@ -426,8 +426,9 @@ public class CreateDatasetForm extends Composite{
|
|||
if(groups == null){
|
||||
setAlertBlock("Error while retrieving groups, try later", AlertType.ERROR, true);
|
||||
}else{
|
||||
if(groups.isEmpty())
|
||||
return;
|
||||
if(groups.isEmpty()){
|
||||
// nothing ...
|
||||
}
|
||||
else{
|
||||
|
||||
// add groups
|
||||
|
@ -858,7 +859,7 @@ public class CreateDatasetForm extends Composite{
|
|||
|
||||
String key = customEntry.getKey();
|
||||
String value = customEntry.getValue();
|
||||
|
||||
|
||||
if(value != null && !value.isEmpty()){
|
||||
List<String> valuesForThisField = null;
|
||||
if(customFieldsMap.containsKey(key))
|
||||
|
|
Loading…
Reference in New Issue