Minor update

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-sdmx-import-widget@101373 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-11-03 16:01:19 +00:00 committed by Giancarlo Panichi
parent 51d7c8ea3f
commit ae3af1b7fc
1 changed files with 7 additions and 0 deletions

View File

@ -348,6 +348,13 @@ public class SDMXTableDetailCard 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());