I have successfully added a new aspect with over 60 metadata fields in it. I would like to add behavior to this aspect such that when copied, all of the metadata values are copied as well. I notice this happens by default with the Dublin Core aspect; I would like to duplicate this behavior.
I realize my problem. I have some properties that I want modified on copy and move, so I bound my custom "OnCopy" behavior without including any of the default property copying behavior.
I got rid of my custom bind for "OnCopy", and just do my modifications in the "AddAspect" behavior. This works for new content, and copied content, but it does not work for nodes that are moved.
When a node is moved the onCreateChildAssociation policy is fired, but this is probably going to be too general for you since this is also fired when a new node is created.
Is sounds like you have a requirement for an onNodeMove policy which we don't have at the moment.
I've added a JIRA task for this http://www.alfresco.org/jira/browse/AR-455. If you are confident in doing so, please feel free to add the policy yourself and contribute the code.