mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
. Rhino JavaScript integration:
- APIs for testing of Permissions and checking that an Aspect exists on a node . Added new command processor to config for Command Servlet - new command processor to allow execution of Alfresco JavaScript files via URLs - Wiki docs: http://wiki.alfresco.com/wiki/URL_Addressability#Script_Command_Processor . Fixed issue where a deleted/missing NodeRef on the end of a Link object would cause errors in the web-client - Still needs cleanup/change to assoc mechanism as per AWC-647 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2774 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -158,7 +158,10 @@ public class DocumentDetailsBean extends BaseDetailsBean
|
||||
if (ContentModel.TYPE_FILELINK.equals(document.getType()))
|
||||
{
|
||||
NodeRef destRef = (NodeRef)document.getProperties().get(ContentModel.PROP_LINK_DESTINATION);
|
||||
document = new Node(destRef);
|
||||
if (nodeService.exists(destRef))
|
||||
{
|
||||
document = new Node(destRef);
|
||||
}
|
||||
}
|
||||
return document;
|
||||
}
|
||||
|
Reference in New Issue
Block a user