mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
In certain circumstances update was not capturing aspects, properties, and
ACLs. This fixes that. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3979 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1056,6 +1056,20 @@ public class AVMServiceImpl implements AVMService
|
||||
fAVMRepository.setContentData(path, data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set all metadata on a node from another node. Aspects, properties, ACLs.
|
||||
* @param path The path to the node to set.
|
||||
* @param from The descriptor for the node to get metadata from.
|
||||
*/
|
||||
public void setMetaDataFrom(String path, AVMNodeDescriptor from)
|
||||
{
|
||||
if (path == null || from == null)
|
||||
{
|
||||
throw new AVMBadArgumentException("Illegal null argument.");
|
||||
}
|
||||
fAVMRepository.setMetaDataFrom(path, from);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add an aspect to an AVM node.
|
||||
* @param path The path to the node.
|
||||
|
Reference in New Issue
Block a user