Minor update

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-csv-import-widget@101383 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-11-03 17:06:57 +00:00
parent 1bba2178ac
commit e54ec554e0
1 changed files with 6 additions and 0 deletions

View File

@ -320,6 +320,12 @@ public class CSVTableDetailCard extends WizardCard {
}
}
if(vFrom!=null && vUntilTo!=null && vFrom.compareTo(vUntilTo)>0){
Log.debug("Attention Valid From field is higher than Valid Until To field");
UtilsGXT3.info("Attention", "Valid From field is higher than Valid Until To field");
return;
}
if(comboLicences.getCurrentValue()!=null&&
comboLicences.getCurrentValue().getLicence()!=null && !comboLicences.getCurrentValue().getLicence().isEmpty()){
detail.setLicence(comboLicences.getCurrentValue().getLicence());