bug on public link solved
This commit is contained in:
parent
88406a3bf2
commit
b5b3669af5
|
@ -404,7 +404,7 @@ public class ItemsManager extends Impersonable{
|
|||
return downloadHandler.downloadVersionedItem(ses, currentUser, (AbstractFileItem) versionedItem, publicLink.getVersion(), true);
|
||||
default:
|
||||
Item currentItem = node2Item.getItem(publicLink.getId(), ses, Excludes.GET_ONLY_CONTENT);
|
||||
return downloadHandler.downloadVersionedItem(ses, currentUser, (AbstractFileItem) currentItem, publicLink.getVersion(), true);
|
||||
return downloadHandler.downloadFileItem(ses,(AbstractFileItem) currentItem, currentUser, true);
|
||||
}
|
||||
|
||||
}catch(RepositoryException re ){
|
||||
|
|
Loading…
Reference in New Issue