mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Changed signature of AVMRepository.getAVMStoreByName() to get rid of
unused and misleading parameter. Fixed PlainFileNodeImpl copy from LayeredFileNode constructor so that properties will be correctly copied. Switched out the GPL mysql driver that I had been inadvertantly using. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3378 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -84,7 +84,10 @@ class LayeredFileNodeImpl extends FileNodeImpl implements LayeredFileNode
|
||||
// This is a mildly dirty trick. We use getContentForRead so as not to startle
|
||||
// the ultimate destination content into copying itself prematurely.
|
||||
FileContent content = ((FileNode)indirect).getContentForRead();
|
||||
PlainFileNodeImpl newMe = new PlainFileNodeImpl(content, lPath.getAVMStore(), getBasicAttributes());
|
||||
PlainFileNodeImpl newMe = new PlainFileNodeImpl(this,
|
||||
content,
|
||||
lPath.getAVMStore(),
|
||||
getBasicAttributes());
|
||||
newMe.setAncestor(this);
|
||||
return newMe;
|
||||
}
|
||||
|
Reference in New Issue
Block a user