|
|
|
@ -186,12 +186,12 @@ public class StorageHubServiceUtil {
|
|
|
|
|
try {
|
|
|
|
|
List<? extends Item> list = wsclient.getVreFolders("hl:accounting");
|
|
|
|
|
toReturn =list.iterator().next().getParentId();
|
|
|
|
|
} catch (Exception e) {
|
|
|
|
|
_log.info("This user has no VRE Folders", e);
|
|
|
|
|
} catch (java.util.NoSuchElementException ex) {
|
|
|
|
|
_log.info("This user has no VRE Folders");
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
}catch (Exception e) {
|
|
|
|
|
e.printStackTrace();
|
|
|
|
|
_log.warn("Could not load VREFolders id" + e.getMessage());
|
|
|
|
|
}
|
|
|
|
|
return toReturn;
|
|
|
|
|
}
|
|
|
|
|