mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
Merged MNT-17845-5.2.N (5.2.2) to 5.2.N (5.2.2)
137773 anechifor: REPO-2516 - MNT-17845 : Smart Folders - replece isReference with fromNodeRef git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137783 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -160,10 +160,9 @@ public class VirtualPreferenceServiceExtension extends
|
||||
if (documentNodeRefStr != null && !documentNodeRefStr.isEmpty())
|
||||
{
|
||||
NodeRef documentNodeRef = new NodeRef(documentNodeRefStr);
|
||||
|
||||
if (Reference.isReference(documentNodeRef))
|
||||
Reference reference = Reference.fromNodeRef(documentNodeRef);
|
||||
if (reference != null)
|
||||
{
|
||||
Reference reference = Reference.fromNodeRef(documentNodeRef);
|
||||
NodeRef actualNodeRef = reference.execute(new GetActualNodeRefMethod(null));
|
||||
String actualNodeRefStr = actualNodeRef.toString();
|
||||
String actualExtPreference = extFavKey + actualNodeRefStr + CREATED_AT;
|
||||
|
Reference in New Issue
Block a user