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-csv-import-widget@169558 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2018-06-29 15:27:21 +00:00
parent 8d1177a810
commit 3a5efd84ad
1 changed files with 2 additions and 1 deletions

View File

@ -77,7 +77,8 @@ public class CSVWorkSpaceSelectionCard extends WizardCard {
@Override @Override
public void onSelectedItem(Item item) { public void onSelectedItem(Item item) {
Log.debug("Selected 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(); String filename = item.getName();
if (filename != null && !filename.isEmpty()) { if (filename != null && !filename.isEmpty()) {
Log.debug("Item name: " + filename); Log.debug("Item name: " + filename);