Merged V3.0 to HEAD

11540: Fix for ETHREEOH-642: forms-runtime.js doesn't process multiple select boxes correctly
   11541: Fix for occasional CIFS packet allocations that are over the maximum pooled packet size. The oversized packets are allocated from normal Java heap and will be picked up by the garbage collector. JLAN-42.
   11542: Removed dynamic-website and extranet projects from 3.0E codeline
   11543: Missing XML/HTML encoding in activity list feed.
   11544: Fix for ETHREEOH-528 - removed Complete Repository as Export option.
   11545: Updated NTLM example config in web.xml to include web-client ajax servlet mapping.
   11546: Merged V2.2 to V3.0
      11478: Keep creator and owner as orihinally set in AVM - Fix for ETWOTWO-604

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@12454 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2008-12-17 14:54:55 +00:00
parent 7c0901406b
commit 9538eae666
7 changed files with 21 additions and 3 deletions

View File

@@ -366,6 +366,13 @@ public abstract class AVMNodeImpl implements AVMNode, Serializable
fAspects = new HashSet<Long>(other.getAspects());
}
protected void copyCreationAndOwnerBasicAttributes(AVMNode other)
{
fBasicAttributes.setCreateDate(other.getBasicAttributes().getCreateDate());
fBasicAttributes.setCreator(other.getBasicAttributes().getCreator());
fBasicAttributes.setOwner(other.getBasicAttributes().getOwner());
}
protected void copyACLs(AVMNode other, Long parentAcl, ACLCopyMode mode)
{
DbAccessControlList acl = other.getAcl();
@@ -384,6 +391,7 @@ public abstract class AVMNodeImpl implements AVMNode, Serializable
copyAspects(other);
copyACLs(other, parentAcl, ACLCopyMode.COPY);
copyProperties(other);
copyCreationAndOwnerBasicAttributes(other);
}
/**