if ((item instanceof StorageLinkItem) && dereferenceLinks()) {
// TODO: we may have "deeper" links too! Implement this properly!
try {
item =
repositoryRouter.dereferenceLink((StorageLinkItem) item, request.isRequestLocalOnly(),
request.isRequestRemoteOnly());
}
catch (Exception e) {
getLogger().warn("Failed to dereference the storagelink " + item.getRepositoryItemUid(), e);