mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fix ALF-19749: NodeService/CopyService interface changes breaks backwards compatibility with add-ons
- This maintains binary compatibility with extensions build before 4.2 - e.g. GOOGLEDOCS-235 Unable to deploy latest Google Docs Enterprise AMPs onto 4.2 (HEAD-QA) - Reversed ALF-19217: NodeService and CopyService APIs return modified flags We are back to creating redundant versions when duplicate changes are made to data git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@54488 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2005-2013 Alfresco Software Limited.
|
||||
* Copyright (C) 2005-2010 Alfresco Software Limited.
|
||||
*
|
||||
* This file is part of Alfresco
|
||||
*
|
||||
@@ -212,7 +212,7 @@ public class MLPropertyInterceptor implements MethodInterceptor
|
||||
nodeRef,
|
||||
pivotNodeRef);
|
||||
// Now complete the call by passing the converted properties
|
||||
ret = nodeService.setProperties(nodeRef, convertedProperties);
|
||||
nodeService.setProperties(nodeRef, convertedProperties);
|
||||
// Done
|
||||
}
|
||||
else if (methodName.equals("addProperties"))
|
||||
@@ -233,7 +233,7 @@ public class MLPropertyInterceptor implements MethodInterceptor
|
||||
nodeRef,
|
||||
pivotNodeRef);
|
||||
// Now complete the call by passing the converted properties
|
||||
ret = nodeService.addProperties(nodeRef, convertedProperties);
|
||||
nodeService.addProperties(nodeRef, convertedProperties);
|
||||
// Done
|
||||
}
|
||||
else if (methodName.equals("setProperty"))
|
||||
@@ -249,7 +249,7 @@ public class MLPropertyInterceptor implements MethodInterceptor
|
||||
inboundValue = convertInboundProperty(contentLangLocale, nodeRef, pivotNodeRef, propertyQName, inboundValue, null);
|
||||
|
||||
// Pass this through to the node service
|
||||
ret = nodeService.setProperty(nodeRef, propertyQName, inboundValue);
|
||||
nodeService.setProperty(nodeRef, propertyQName, inboundValue);
|
||||
// Done
|
||||
}
|
||||
else if (methodName.equals("createNode") && args.length > 4)
|
||||
@@ -298,7 +298,7 @@ public class MLPropertyInterceptor implements MethodInterceptor
|
||||
nodeRef,
|
||||
pivotNodeRef);
|
||||
// Now complete the call by passing the converted properties
|
||||
ret = nodeService.addAspect(nodeRef, aspectTypeQName, convertedProperties);
|
||||
nodeService.addAspect(nodeRef, aspectTypeQName, convertedProperties);
|
||||
// Done
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user