ref #11879: TDM - Update to StorageHUB

https://support.d4science.org/issues/#11879

Updated to StorageHub



git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-codelistmapping-import-widget@169561 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2018-06-29 15:32:54 +00:00
parent b9d124b670
commit ab226b3060
1 changed files with 2 additions and 1 deletions

View File

@ -87,7 +87,8 @@ public class CodelistMappingWorkSpaceSelectionCard extends WizardCard {
@Override
public void onSelectedItem(Item item) {
Log.debug("Selected Item:" + item);
if (item.getType() == ItemType.EXTERNAL_FILE) {
if (item.getType() != ItemType.FOLDER&&item.getType() != ItemType.PRIVATE_FOLDER
&&item.getType() != ItemType.SHARED_FOLDER&&item.getType() != ItemType.VRE_FOLDER) {
String filename = item.getName();
if (filename != null && !filename.isEmpty()) {
Log.debug("Item name: " + filename);